Commit efb8a782 authored by Mac's avatar Mac

修改参数

parent eceb4f05
...@@ -225,7 +225,7 @@ $.fn.dataStatistics = function(options){ ...@@ -225,7 +225,7 @@ $.fn.dataStatistics = function(options){
type: "POST", type: "POST",
url: `${getApiUrl().urlJava}api/appActivity/PanicBuyingCoupon`, url: `${getApiUrl().urlJava}api/appActivity/PanicBuyingCoupon`,
contentType: "application/json", contentType: "application/json",
data: getJavaData({redemptionPrice:options.price,couponId:options.couponId}), data: getJavaData({redemptionPrice:options.price,couponId:options.couponId,productName:'印象之旅-200元无敌优惠券'}),
async: false, async: false,
success: function (res) { success: function (res) {
if(options.platform == 'app'){ if(options.platform == 'app'){
...@@ -240,7 +240,7 @@ $.fn.dataStatistics = function(options){ ...@@ -240,7 +240,7 @@ $.fn.dataStatistics = function(options){
// clearInterval(timer3) //2,执行动画之后清除timer3 // clearInterval(timer3) //2,执行动画之后清除timer3
// },difference*1000) // },difference*1000)
let title ='200元' + $('.img_bg_p1').html(); let title ='印象之旅-200元无敌优惠券';
let data = { let data = {
'action' : 'jump', // showToast->一个提示信息 showHud->一个黑色的loading 'action' : 'jump', // showToast->一个提示信息 showHud->一个黑色的loading
...@@ -291,7 +291,9 @@ $.fn.dataStatistics = function(options){ ...@@ -291,7 +291,9 @@ $.fn.dataStatistics = function(options){
}else { }else {
layer.msg(res.message) layer.msg(res.message)
} }
window.location.reload() layer.msg(res.message)
// window.location.reload()
} }
}, },
...@@ -302,8 +304,6 @@ $.fn.dataStatistics = function(options){ ...@@ -302,8 +304,6 @@ $.fn.dataStatistics = function(options){
}else { }else {
} }
layer.msg(res.message)
} }
}); });
}else { }else {
......
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