Commit e35372bf by 陈超

T

parent d74ba5d2
......@@ -80,9 +80,8 @@
},
function(data) {
let res = JSON.parse(data)
console.log(res)
if(res.status == 1) {
that.startWxPay()
that.startWxPay(id)
} else {
ui.error(res.info)
}
......@@ -91,7 +90,7 @@
ui.error('请阅读并同意购买协议')
}
},
startWxPay: function() {
startWxPay: function(id) {
$.ajax({
url: "{:U('course/PayVideo/payLibrary')}",
data:{
......
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