Authored by 李奇

cors域名修改

@@ -86,7 +86,7 @@ const couponExp = { @@ -86,7 +86,7 @@ const couponExp = {
86 return res.json({ 86 return res.json({
87 code: 301, 87 code: 301,
88 data: { 88 data: {
89 - url: '//feature.yoho.cn/coupon-expansion/progress.html' 89 + url: '//huodong.yoho.cn/coupon-expansion/progress.html'
90 }, 90 },
91 message: '用户已经领取过优惠券,重定向' 91 message: '用户已经领取过优惠券,重定向'
92 }); 92 });
@@ -110,7 +110,7 @@ const couponExp = { @@ -110,7 +110,7 @@ const couponExp = {
110 return res.json({ 110 return res.json({
111 code: 301, 111 code: 301,
112 data: { 112 data: {
113 - url: '//feature.yoho.cn/coupon-expansion/progress.html' 113 + url: '//huodong.yoho.cn/coupon-expansion/progress.html'
114 }, 114 },
115 message: '领取优惠券成功,重定向' 115 message: '领取优惠券成功,重定向'
116 }); 116 });
@@ -119,7 +119,7 @@ const couponExp = { @@ -119,7 +119,7 @@ const couponExp = {
119 res.json({ 119 res.json({
120 code: 301, 120 code: 301,
121 data: { 121 data: {
122 - url: '//feature.yoho.cn/coupon-expansion/progress.html' 122 + url: '//huodong.yoho.cn/coupon-expansion/progress.html'
123 }, 123 },
124 message: '用户已经领取过优惠券,重定向' 124 message: '用户已经领取过优惠券,重定向'
125 }); 125 });
@@ -169,7 +169,7 @@ const couponExp = { @@ -169,7 +169,7 @@ const couponExp = {
169 req.session._EXP_COUPONS = coupons; 169 req.session._EXP_COUPONS = coupons;
170 170
171 // 进度页 171 // 进度页
172 - res.status(301).redirect('//feature.yoho.cn/coupon-expansion/progress.html'); 172 + res.status(301).redirect('//huodong.yoho.cn/coupon-expansion/progress.html');
173 }).catch(next); 173 }).catch(next);
174 174
175 }, 175 },