Authored by 毕凯

错误修复

... ... @@ -114,7 +114,7 @@ class SmsLogin {
if (!req.xhr || step !== 2) {
return next(404);
return next();
}
let now = Date.now();
... ... @@ -182,7 +182,7 @@ class SmsLogin {
let step = _.get(req.session, 'smsLogin.step');
if (!req.xhr && step !== 2) {
return next(404);
return next();
}
if (!code) {
... ...
... ... @@ -11,8 +11,8 @@ const isProduction = process.env.NODE_ENV === 'production';
const isTest = process.env.NODE_ENV === 'test';
const domains = {
api: 'http://api.yoho.cn/',
service: 'http://service.yoho.cn/',
api: 'http://api.yoho.yohoops.org/',
service: 'http://service.yoho.yohoops.org/',
liveApi: 'http://testapi.live.yohops.com:9999/',
singleApi: 'http://api-test3.yohops.com:9999/',
imSocket: 'ws://socket.yohobuy.com:10240',
... ...