Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-activity-platform
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
邱骏
7 years ago
Commit
970ed8329bb079ddea5416e8c95e60964c936abb
1 parent
9ae4a720
修改
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
apps/api/controllers/yohood.js
config/common.js
apps/api/controllers/yohood.js
View file @
970ed83
...
...
@@ -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
...
...
config/common.js
View file @
970ed83
...
...
@@ -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'
...
...
Please
register
or
login
to post a comment