...
|
...
|
@@ -147,6 +147,7 @@ const loginNew = new LoginNew(); |
|
|
|
|
|
router.get('/passport/login',
|
|
|
login.common.clearCookie,
|
|
|
login.common.wechatQuickLoginCheck,
|
|
|
validateCode.load,
|
|
|
login.common.beforeLogin,
|
|
|
loginNew.loginPage); // 普通登录
|
...
|
...
|
@@ -164,6 +165,7 @@ router.post('/passport/register-new', |
|
|
reg.register); // 注册请求
|
|
|
router.get('/passport/sms_login',
|
|
|
login.common.clearCookie,
|
|
|
login.common.wechatQuickLoginCheck,
|
|
|
validateCode.load,
|
|
|
smsLogin.smsLoginPage); // 短信验证码登录
|
|
|
router.post('/passport/sms_login/step1_check', validateCode.check, smsLogin.indexCheck);
|
...
|
...
|
@@ -174,6 +176,7 @@ router.get('/signin.html', |
|
|
login.common.thirdLogin,
|
|
|
|
|
|
// login.common.weixinCheck,
|
|
|
login.common.wechatQuickLoginCheck,
|
|
|
validateCode.load,
|
|
|
login.common.beforeLogin,
|
|
|
smsLogin.smsLoginPage); // 短信验证码登录
|
...
|
...
|
@@ -181,6 +184,7 @@ router.get('/signin.html', |
|
|
router.get('/signin.htm',
|
|
|
login.common.clearCookie,
|
|
|
login.common.thirdLogin,
|
|
|
login.common.wechatQuickLoginCheck,
|
|
|
validateCode.load,
|
|
|
login.common.beforeLogin,
|
|
|
smsLogin.smsLoginPage); // 短信验证码登录
|
...
|
...
|
|