|
@@ -21,6 +21,7 @@ const getPageInfo = (pageInfo) => { |
|
@@ -21,6 +21,7 @@ const getPageInfo = (pageInfo) => { |
21
|
dest.oldUserCouponPic = pageInfo.data.oldUserCouponPic;
|
21
|
dest.oldUserCouponPic = pageInfo.data.oldUserCouponPic;
|
22
|
dest.mobile = pageInfo.data.mobile;
|
22
|
dest.mobile = pageInfo.data.mobile;
|
23
|
dest.wechatShare = true;
|
23
|
dest.wechatShare = true;
|
|
|
24
|
+ dest.secondScreenPic = pageInfo.data.secondScreenPic;
|
24
|
|
25
|
|
25
|
// 强制活动开始,活动上线产品要求这样设置
|
26
|
// 强制活动开始,活动上线产品要求这样设置
|
26
|
pageInfo.data.flag = 1;
|
27
|
pageInfo.data.flag = 1;
|
|
@@ -91,7 +92,7 @@ exports.getCoupon = (data) => { |
|
@@ -91,7 +92,7 @@ exports.getCoupon = (data) => { |
91
|
method: 'wap.order.drawOrderShareCoupon'
|
92
|
method: 'wap.order.drawOrderShareCoupon'
|
92
|
},
|
93
|
},
|
93
|
|
94
|
|
94
|
- // 处理完成后,发给后端
|
95
|
+ // 处理完成后,发给后端
|
95
|
phoneData = Object.assign(defaultParam, data);
|
96
|
phoneData = Object.assign(defaultParam, data);
|
96
|
|
97
|
|
97
|
return api.get('', phoneData).then(result => {
|
98
|
return api.get('', phoneData).then(result => {
|
|
@@ -108,10 +109,10 @@ exports.registerAndSendCoupon = (data) => { |
|
@@ -108,10 +109,10 @@ exports.registerAndSendCoupon = (data) => { |
108
|
method: 'wap.order.registerAndSendCoupon'
|
109
|
method: 'wap.order.registerAndSendCoupon'
|
109
|
},
|
110
|
},
|
110
|
|
111
|
|
111
|
- // 处理完成后,发给后端
|
112
|
+ // 处理完成后,发给后端
|
112
|
verifyData = Object.assign(defaultParam, data);
|
113
|
verifyData = Object.assign(defaultParam, data);
|
113
|
|
114
|
|
114
|
return api.get('', verifyData).then(result => {
|
115
|
return api.get('', verifyData).then(result => {
|
115
|
return getUserStatus(result);
|
116
|
return getUserStatus(result);
|
116
|
- }); // 所有数据返回一个 Promise,方便 Promise.all 调用
|
|
|
117
|
-}; |
117
|
+ }); // 所有数据返回一个 Promise,方便 Promise.all 调用
|
|
|
118
|
+}; |