Authored by 邱骏

修改

@@ -206,7 +206,7 @@ const yohood = { @@ -206,7 +206,7 @@ const yohood = {
206 206
207 console.log(uid, couponId); 207 console.log(uid, couponId);
208 208
209 - if (!uid || !couponId) { 209 + if (!uid || uid === '0' || !couponId) {
210 return res.json({ 210 return res.json({
211 code: 400, 211 code: 400,
212 message: INVALID_PARAMS 212 message: INVALID_PARAMS
@@ -37,10 +37,11 @@ module.exports = { @@ -37,10 +37,11 @@ module.exports = {
37 }, 37 },
38 corsAllowOrigin: [ 38 corsAllowOrigin: [
39 'http://localhost:8081', 39 'http://localhost:8081',
40 - 'http://localhost:9000', 40 + 'http://localhost:8888',
41 'http://localhost:1234', 41 'http://localhost:1234',
42 'http://localhost:63342', 42 'http://localhost:63342',
43 'http://huodong.yoho.cn', 43 'http://huodong.yoho.cn',
  44 + 'http://yunhuodong.net',
44 'http://yohood.ad.yoho.cn', 45 'http://yohood.ad.yoho.cn',
45 'http://ad.yoho.cn', 46 'http://ad.yoho.cn',
46 'https:/ad.yoho.cn', 47 'https:/ad.yoho.cn',
@@ -141,6 +142,7 @@ if (isProduction) { @@ -141,6 +142,7 @@ if (isProduction) {
141 'https://ad.yoho.cn', 142 'https://ad.yoho.cn',
142 'http://feature.yoho.cn', 143 'http://feature.yoho.cn',
143 'https://feature.yoho.cn', 144 'https://feature.yoho.cn',
  145 + 'http://yunhuodong.net',
144 'http://huodong.yoho.cn', 146 'http://huodong.yoho.cn',
145 'https://huodong.yoho.cn', 147 'https://huodong.yoho.cn',
146 'http://ad.yhurl.com' 148 'http://ad.yhurl.com'