Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
9 years ago
Commit
94c79ac12d6df0186e3fa9a2ba8eebbdfe589e1e
1 parent
5b0fe103
add err log
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
apps/passport/controllers/login.js
config/common.js
apps/passport/controllers/login.js
View file @
94c79ac
...
...
@@ -219,7 +219,7 @@ const wechat = {
}
})(
req
,
res
,
next
);
}
else
{
return
next
(
new
Error
(
'Auth State Mismatch'
));
return
next
(
new
Error
(
`
session
:
$
{
req
.
session
.
authState
},
query
:
$
{
req
.
query
.
state
}
`
));
}
}
};
...
...
config/common.js
View file @
94c79ac
...
...
@@ -13,11 +13,11 @@ module.exports = {
app
:
'web'
,
appVersion
:
'4.6.0'
,
// 调用api接口版本
port
:
6003
,
siteUrl
:
'//www.yohob
lk
.com'
,
siteUrl
:
'//www.yohob
uy
.com'
,
subDomains
:
{
default
:
'//www.yohob
lk
.com'
default
:
'//www.yohob
uy
.com'
},
cookieDomain
:
'yohob
lk
.com'
,
cookieDomain
:
'yohob
uy
.com'
,
domains
:
{
api
:
'http://api.yoho.cn/'
,
// devapi.yoho.cn:58078 testapi.yoho.cn:28078 devapi.yoho.cn:58078
service
:
'http://testservice.yoho.cn:28077/'
,
// testservice.yoho.cn:28077 devservice.yoho.cn:58077
...
...
@@ -26,9 +26,9 @@ module.exports = {
useOneapm
:
false
,
useCache
:
false
,
memcache
:
{
master
:
[
'172.16.6.157:11211'
],
slave
:
[
'172.16.6.157:11211'
],
session
:
[
'172.16.6.157:11211'
],
master
:
[
'192.168.102.168:11211'
],
slave
:
[
'192.168.102.168:11211'
],
session
:
[
'192.168.102.168:11211'
],
timeout
:
1000
,
retries
:
0
},
...
...
Please
register
or
login
to post a comment