Forráskód Böngészése

美博会活动优惠券

zhengjinyi 3 éve
szülő
commit
03d0300ccd

+ 4 - 2
src/main/resources/static/js/pay/caimei-paycash.js

@@ -681,7 +681,8 @@ var payContainer = new Vue({
                 returnUrl: 'https://www.caimei365.com/pay/success.html?pageType=www&type=success&payAmount='+_self.couponInfo.moneyCouponPrice,
                 userType: _self.payInfo.payUserType,
                 couponId: _self.couponId,
-                userId:_self.userId
+                userId:_self.userId,
+                source:2 //支付来源 1 小程序 2 WWW
             };
             PayApi.PayCouponUnionPay(params, function (response) {
                 if (response.code == 0) {
@@ -736,7 +737,8 @@ var payContainer = new Vue({
             var params = {
                 returnUrl: 'https://www.caimei365.com/',
                 couponId: _self.couponInfo.couponId,
-                userId:_self.userId
+                userId:_self.userId,
+                source:2 //支付来源 1 小程序 2 WWW
             };
             PayApi.PayCouponMiniAliPay(params, function(response){
                 console.log(response);

+ 1 - 0
src/main/resources/static/js/pay/caimei-wechatpay.js

@@ -90,6 +90,7 @@ var payContainer = new Vue({
                 userId: _this.userId,
                 couponId: _this.couponId,
                 returnUrl: 'https://www.caimei365.com/',
+                source:2 //支付来源 1 小程序 2 WWW
             };
             PayApi.PayCouponMiniWxPay(params,function(response){
                 if(response.code == 0){