Authored by 邱骏

修改

... ... @@ -206,7 +206,7 @@ const yohood = {
console.log(uid, couponId);
if (!uid || !couponId) {
if (!uid || uid === '0' || !couponId) {
return res.json({
code: 400,
message: INVALID_PARAMS
... ...
... ... @@ -37,10 +37,11 @@ module.exports = {
},
corsAllowOrigin: [
'http://localhost:8081',
'http://localhost:9000',
'http://localhost:8888',
'http://localhost:1234',
'http://localhost:63342',
'http://huodong.yoho.cn',
'http://yunhuodong.net',
'http://yohood.ad.yoho.cn',
'http://ad.yoho.cn',
'https:/ad.yoho.cn',
... ... @@ -141,6 +142,7 @@ if (isProduction) {
'https://ad.yoho.cn',
'http://feature.yoho.cn',
'https://feature.yoho.cn',
'http://yunhuodong.net',
'http://huodong.yoho.cn',
'https://huodong.yoho.cn',
'http://ad.yhurl.com'
... ...