...
|
...
|
@@ -205,14 +205,6 @@ const sendCodeToMobileAPI = (req, res, next) => { |
|
|
return res.json(ERR);
|
|
|
}
|
|
|
|
|
|
// 针对直接调接口的情况
|
|
|
if (!_.get(req, 'session.backupCaptch.verifyResult')) {
|
|
|
return res.json({
|
|
|
code: 400,
|
|
|
message: '非法请求'
|
|
|
});
|
|
|
}
|
|
|
|
|
|
let backCount = _.get(req.session, 'backupCaptch.count'); // 短信验证码 发送次数
|
|
|
|
|
|
if (!backCount) {
|
...
|
...
|
|