Commit ca2ec454 by 冷斌

fix bug

parent fa26d395
......@@ -215,10 +215,20 @@
return 0;
},
onPay: function (item) {
reg_login();
var uid = '{$uid}';
if(uid<=0){
reg_login();
ui.confirm('请先登录', {
yes: function () {
window.location.href = "{:U('basic/Passport/login')}";
}
});
return false;
if(MID<=0){
ui.confirm('请先登录', {
yes: function () {
window.location.href = "{:U('basic/Passport/login')}";
}
});
return false;
}
let url = "/pay/exams_"+item['order']+".html";
......
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