...
|
...
|
@@ -319,7 +319,7 @@ const resetPwdSuccessPage = (req, res, next) => { |
|
|
.catch(next);
|
|
|
};
|
|
|
|
|
|
const verifyCodeByMobileAPI = (req, res) => {
|
|
|
const verifyCodeByMobileAPI = (req, res, next) => {
|
|
|
let mobile = req.body.mobile || '';
|
|
|
let area = req.body.area || '86';
|
|
|
let mobileCode = req.body.code || '';
|
...
|
...
|
@@ -343,9 +343,7 @@ const verifyCodeByMobileAPI = (req, res) => { |
|
|
.then(result => {
|
|
|
res.json(result);
|
|
|
})
|
|
|
.catch(()=> {
|
|
|
res.json(ERR);
|
|
|
});
|
|
|
.catch(next);
|
|
|
};
|
|
|
|
|
|
const validateExistCodePage = (req, res, next) => {
|
...
|
...
|
|