Commit 620721df by 冷斌

fix bug

parent ca2ec454
......@@ -216,13 +216,6 @@
},
onPay: function (item) {
var uid = '{$uid}';
ui.confirm('请先登录', {
yes: function () {
window.location.href = "{:U('basic/Passport/login')}";
}
});
return false;
if(MID<=0){
ui.confirm('请先登录', {
yes: function () {
......@@ -231,6 +224,12 @@
});
return false;
}
if(item['money'] <= 0){
ui.error('此课程不需要您购买');
return false;
}
let url = "/pay/exams_"+item['order']+".html";
console.log(item, url, "{$check_type}");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment