Commit e32a5efe by 陈超

T

parent a099b68f
...@@ -105,6 +105,14 @@ ...@@ -105,6 +105,14 @@
} }
let q = "{:U('course/Video/watch',array('id'=>$_GET['id'],'s_id'=>$s_id))}" let q = "{:U('course/Video/watch',array('id'=>$_GET['id'],'s_id'=>$s_id))}"
console.log(q) console.log(q)
$.ajax({
type: 'POST',
url: "{:U('course/Video/watch',array('id'=>$_GET['id'],'s_id'=>$s_id))}",
dataType: "json",
success: function (data) {
console.log(data)
},
})
}, },
methods: { methods: {
onCollect: function() { onCollect: function() {
...@@ -136,6 +144,9 @@ ...@@ -136,6 +144,9 @@
}) })
} }
}, },
onBuy: function() {
},
onTapCourse: function(child, item) { onTapCourse: function(child, item) {
}, },
......
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