...
|
...
|
@@ -251,7 +251,7 @@ router.post('/account/sendmobilemsg', captcha.requiredAPI, AccountController.sen |
|
|
|
|
|
// 手机号验证第二步
|
|
|
router.post('/account/modifymobile', AccountController.modifyMobile);
|
|
|
router.post('/account/mobilesendmsg', AccountController.newSendMsg);
|
|
|
router.post('/account/mobilesendmsg', captcha.requiredAPI, AccountController.newSendMsg);
|
|
|
router.post('/account/mobilecheck', AccountController.newBindCheck);
|
|
|
|
|
|
// 地址管理
|
...
|
...
|
@@ -283,11 +283,11 @@ router.post('/invoice/supply', invoiceController.supply); |
|
|
router.get('/newuser', newUserController.check);
|
|
|
|
|
|
// 我的礼品卡
|
|
|
router.get('/megift', tabsMiddleware.getCommonHeader, meGiftController.index);
|
|
|
router.get('/megift', captcha.required, tabsMiddleware.getCommonHeader, meGiftController.index);
|
|
|
router.post('/megift/sendEmailCode', meGiftController.sendEmailCode);// 发送邮箱验证码
|
|
|
router.post('/megift/verifyEmail', meGiftController.verifyEmail);// 验证邮箱验证码
|
|
|
// 检查是否绑定手机号、发验证码
|
|
|
router.post('/megift/smsBind', meGiftController.smsBind);
|
|
|
router.post('/megift/smsBind', captcha.requiredAPI, meGiftController.smsBind);
|
|
|
router.post('/megift/changeMobile', meGiftController.changeMobile);// 修改绑定手机
|
|
|
router.post('/megift/activateGift', meGiftController.activateGift);// 激活礼品卡
|
|
|
router.get('/megift/detail', meGiftController.detail);// 消费明细
|
...
|
...
|
|