|
@@ -43,23 +43,23 @@ router.post('/passport/sms_login/password.json', smsLogin.password); |
|
@@ -43,23 +43,23 @@ router.post('/passport/sms_login/password.json', smsLogin.password); |
43
|
// jsonp获取用户uid
|
43
|
// jsonp获取用户uid
|
44
|
router.get('/passport/login/user', login.user);
|
44
|
router.get('/passport/login/user', login.user);
|
45
|
|
45
|
|
46
|
-// 微信登录
|
|
|
47
|
-router.get('/passport/login/wechat', login.common.beforeLogin, login.common.isLoginUser, login.wechat.login);
|
|
|
48
|
-router.get('/passport/login/wechat/callback', login.wechat.callback);
|
|
|
49
|
-router.get('/passport/login/wechat/redirect', login.wechat.redirect);
|
46
|
+// // 微信登录
|
|
|
47
|
+// router.get('/passport/login/wechat', login.common.beforeLogin, login.common.isLoginUser, login.wechat.login);
|
|
|
48
|
+// router.get('/passport/login/wechat/callback', login.wechat.callback);
|
|
|
49
|
+// router.get('/passport/login/wechat/redirect', login.wechat.redirect);
|
50
|
|
50
|
|
51
|
-// sina登录
|
|
|
52
|
-router.get('/passport/login/sina', login.common.beforeLogin, login.sina.login);
|
|
|
53
|
-router.get('/passport/login/sina/callback', login.sina.callback);
|
|
|
54
|
-router.get('/passport/login/sina/redirect', login.sina.redirect);
|
51
|
+// // sina登录
|
|
|
52
|
+// router.get('/passport/login/sina', login.common.beforeLogin, login.sina.login);
|
|
|
53
|
+// router.get('/passport/login/sina/callback', login.sina.callback);
|
|
|
54
|
+// router.get('/passport/login/sina/redirect', login.sina.redirect);
|
55
|
|
55
|
|
56
|
-// qq登录
|
|
|
57
|
-router.get('/passport/login/qq', login.common.beforeLogin, login.qq.login);
|
|
|
58
|
-router.get('/passport/login/qq/callback', login.qq.callback);
|
56
|
+// // qq登录
|
|
|
57
|
+// router.get('/passport/login/qq', login.common.beforeLogin, login.qq.login);
|
|
|
58
|
+// router.get('/passport/login/qq/callback', login.qq.callback);
|
59
|
|
59
|
|
60
|
-// 支付宝登录
|
|
|
61
|
-router.get('/passport/login/alipay', login.common.beforeLogin, login.alipay.login);
|
|
|
62
|
-router.get('/passport/login/alipay/callback', login.alipay.callback);
|
60
|
+// // 支付宝登录
|
|
|
61
|
+// router.get('/passport/login/alipay', login.common.beforeLogin, login.alipay.login);
|
|
|
62
|
+// router.get('/passport/login/alipay/callback', login.alipay.callback);
|
63
|
|
63
|
|
64
|
// 登录绑定
|
64
|
// 登录绑定
|
65
|
// router.get('/passport/bind/index', validateCode.load, bind.indexPage);
|
65
|
// router.get('/passport/bind/index', validateCode.load, bind.indexPage);
|
|
@@ -171,7 +171,8 @@ router.post('/passport/sms_login/step1_check', validateCode.check, smsLogin.inde |
|
@@ -171,7 +171,8 @@ router.post('/passport/sms_login/step1_check', validateCode.check, smsLogin.inde |
171
|
router.get('/signin.html',
|
171
|
router.get('/signin.html',
|
172
|
login.common.clearCookie,
|
172
|
login.common.clearCookie,
|
173
|
login.common.thirdLogin,
|
173
|
login.common.thirdLogin,
|
174
|
- login.common.weixinCheck,
|
174
|
+
|
|
|
175
|
+ // login.common.weixinCheck,
|
175
|
validateCode.load,
|
176
|
validateCode.load,
|
176
|
login.common.beforeLogin,
|
177
|
login.common.beforeLogin,
|
177
|
smsLogin.smsLoginPage); // 短信验证码登录
|
178
|
smsLogin.smsLoginPage); // 短信验证码登录
|