Commit 6cab4756 by 冷斌

fix bug

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