...
|
...
|
@@ -86,7 +86,7 @@ const couponExp = { |
|
|
return res.json({
|
|
|
code: 301,
|
|
|
data: {
|
|
|
url: '//feature.yoho.cn/coupon-expansion/progress'
|
|
|
url: '//feature.yoho.cn/coupon-expansion/progress.html'
|
|
|
},
|
|
|
message: '用户已经领取过优惠券,重定向'
|
|
|
});
|
...
|
...
|
@@ -110,7 +110,7 @@ const couponExp = { |
|
|
return res.json({
|
|
|
code: 301,
|
|
|
data: {
|
|
|
url: '//feature.yoho.cn/coupon-expansion/progress'
|
|
|
url: '//feature.yoho.cn/coupon-expansion/progress.html'
|
|
|
},
|
|
|
message: '领取优惠券成功,重定向'
|
|
|
});
|
...
|
...
|
@@ -119,7 +119,7 @@ const couponExp = { |
|
|
res.json({
|
|
|
code: 301,
|
|
|
data: {
|
|
|
url: '//feature.yoho.cn/coupon-expansion/progress'
|
|
|
url: '//feature.yoho.cn/coupon-expansion/progress.html'
|
|
|
},
|
|
|
message: '用户已经领取过优惠券,重定向'
|
|
|
});
|
...
|
...
|
@@ -169,7 +169,7 @@ const couponExp = { |
|
|
req.session._EXP_COUPONS = coupons;
|
|
|
|
|
|
// 进度页
|
|
|
res.status(301).redirect('//feature.yoho.cn/coupon-expansion/progress');
|
|
|
res.status(301).redirect('//feature.yoho.cn/coupon-expansion/progress.html');
|
|
|
}).catch(next);
|
|
|
|
|
|
},
|
...
|
...
|
|