...
|
...
|
@@ -21,6 +21,7 @@ const getPageInfo = (pageInfo) => { |
|
|
dest.oldUserCouponPic = pageInfo.data.oldUserCouponPic;
|
|
|
dest.mobile = pageInfo.data.mobile;
|
|
|
dest.wechatShare = true;
|
|
|
dest.secondScreenPic = pageInfo.data.secondScreenPic;
|
|
|
|
|
|
// 强制活动开始,活动上线产品要求这样设置
|
|
|
pageInfo.data.flag = 1;
|
...
|
...
|
@@ -91,7 +92,7 @@ exports.getCoupon = (data) => { |
|
|
method: 'wap.order.drawOrderShareCoupon'
|
|
|
},
|
|
|
|
|
|
// 处理完成后,发给后端
|
|
|
// 处理完成后,发给后端
|
|
|
phoneData = Object.assign(defaultParam, data);
|
|
|
|
|
|
return api.get('', phoneData).then(result => {
|
...
|
...
|
@@ -108,10 +109,10 @@ exports.registerAndSendCoupon = (data) => { |
|
|
method: 'wap.order.registerAndSendCoupon'
|
|
|
},
|
|
|
|
|
|
// 处理完成后,发给后端
|
|
|
// 处理完成后,发给后端
|
|
|
verifyData = Object.assign(defaultParam, data);
|
|
|
|
|
|
return api.get('', verifyData).then(result => {
|
|
|
return getUserStatus(result);
|
|
|
}); // 所有数据返回一个 Promise,方便 Promise.all 调用
|
|
|
}; |
|
|
}); // 所有数据返回一个 Promise,方便 Promise.all 调用
|
|
|
}; |
|
|
\ No newline at end of file |
...
|
...
|
|