Commit cdeaa3c3 by 刘海龙

no message

parent 1b778b3a
...@@ -358,22 +358,22 @@ ...@@ -358,22 +358,22 @@
onPay: function() { onPay: function() {
var item = this.download[this.index] var item = this.download[this.index]
console.log(item) console.log(item)
// $.ajax({ $.ajax({
// type: "POST", type: "POST",
// url: "{:U('exams/index/getPayUrl')}", url: "{:U('exams/index/getPayUrl')}",
// data:{ data:{
// paper_id: item.id, paper_id: item.id,
// }, },
// dataType:"json", dataType:"json",
// success:function(res){ success:function(res){
// var res = getResponseData(res) var res = getResponseData(res)
// if(res.status == 1){ if(res.status == 1){
// window.location.href = res.data window.location.href = res.data
// }else{ }else{
// ui.error(res.message) ui.error(res.message)
// } }
// } }
// }) })
}, },
onDownload: function(){ onDownload: function(){
......
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