Commit 14eb39a1 by 陈超

T

parent f4fa59d4
...@@ -67,6 +67,7 @@ ...@@ -67,6 +67,7 @@
}, },
methods: { methods: {
onBuy: function(id, type) { onBuy: function(id, type) {
if(this.agree) {
$.post( $.post(
U("course/PayVideo/checkPayOperat"), U("course/PayVideo/checkPayOperat"),
{ {
...@@ -79,6 +80,9 @@ ...@@ -79,6 +80,9 @@
function(data) { function(data) {
console.log(data) console.log(data)
}) })
} else {
ui.error('请阅读并同意购买协议')
}
} }
} }
}) })
......
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