...
|
...
|
@@ -99,7 +99,7 @@ router.get('/passport/reg/index', reg.index); |
|
|
// NOTE: 该接口的存在只是为了兼容前端 ajax 请求
|
|
|
router.post('/passport/reg/checkmobile', reg.fakeCheckMobile);
|
|
|
|
|
|
router.post('/passport/reg/piccaptcha', reg.checkCode, reg.picCaptcha);
|
|
|
router.post('/passport/reg/piccaptcha', captcha.requiredAPI, reg.picCaptcha);
|
|
|
router.post('/passport/reg/msgcaptcha', reg.checkMobileMiddleware, reg.msgCaptcha);
|
|
|
router.post('/passport/reg/sendBindMsg', reg.checkMobileMiddleware, captcha.requiredAPI, reg.sendBindMsg);
|
|
|
router.post('/passport/reg/mobileregister', reg.checkMobileMiddleware, reg.checkPassword, captcha.requiredAPI, reg.mobileRegister); //eslint-disable-line
|
...
|
...
|
|