Commit 7f32953d by 冷斌

fix bug

parent c3579650
......@@ -261,7 +261,23 @@
}
if (type === 'goods') {
console.log(item);
$.ajax({
type: "POST",
url: "{:U('mall/Goods/getPayUrl')}",
data:{
count: 1,
goods_id: item.goods_id,
},
dataType:"json",
success:function(res){
var res = getResponseData(res);
if(res.status == 1){
window.location.href = res.data;
}else{
ui.error(res.message);
}
}
})
return false;
}
......
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