...
|
...
|
@@ -99,10 +99,19 @@ router.get('/passport/reg/index', reg.index); |
|
|
// NOTE: 该接口的存在只是为了兼容前端 ajax 请求
|
|
|
router.post('/passport/reg/checkmobile', reg.fakeCheckMobile);
|
|
|
|
|
|
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
|
|
|
|
|
|
router.post('/passport/reg/sendBindMsg',
|
|
|
captcha.requiredAPI,
|
|
|
reg.checkMobileMiddleware,
|
|
|
reg.sendBindMsg);
|
|
|
|
|
|
router.post('/passport/reg/mobileregister',
|
|
|
captcha.requiredAPI,
|
|
|
reg.checkMobileMiddleware,
|
|
|
reg.checkPassword,
|
|
|
reg.mobileRegister);
|
|
|
|
|
|
router.get('/passport/reg/success', reg.success);
|
|
|
|
|
|
/**
|
...
|
...
|
|