Commit 6cab4756 by 冷斌

fix bug

parent c6d852a4
......@@ -256,16 +256,15 @@
$.post(U("course/PayVideo/checkPay"), formData2,function(data){
console.log(data);
// if(data.status == 1){
// window.location.href = url;
// } else if(data.status == 9){
// ui.error(data.info);
// window.location.reload();
// } else {
// ui.error(data.info);
// return false;
// }
if(data.status == 1){
window.location.href = url;
} else if(data.status == 9){
ui.error(data.info);
window.location.reload();
} else {
ui.error(data.info);
return false;
}
},'json');
}
},
......
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