Authored by htoooth

add err log

... ... @@ -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}`));
}
}
};
... ...
... ... @@ -13,11 +13,11 @@ module.exports = {
app: 'web',
appVersion: '4.6.0', // 调用api接口版本
port: 6003,
siteUrl: '//www.yohoblk.com',
siteUrl: '//www.yohobuy.com',
subDomains: {
default: '//www.yohoblk.com'
default: '//www.yohobuy.com'
},
cookieDomain: 'yohoblk.com',
cookieDomain: 'yohobuy.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
},
... ...