Showing
1 changed file
with
0 additions
and
8 deletions
@@ -205,14 +205,6 @@ const sendCodeToMobileAPI = (req, res, next) => { | @@ -205,14 +205,6 @@ const sendCodeToMobileAPI = (req, res, next) => { | ||
205 | return res.json(ERR); | 205 | return res.json(ERR); |
206 | } | 206 | } |
207 | 207 | ||
208 | - // 针对直接调接口的情况 | ||
209 | - if (!_.get(req, 'session.backupCaptch.verifyResult')) { | ||
210 | - return res.json({ | ||
211 | - code: 400, | ||
212 | - message: '非法请求' | ||
213 | - }); | ||
214 | - } | ||
215 | - | ||
216 | let backCount = _.get(req.session, 'backupCaptch.count'); // 短信验证码 发送次数 | 208 | let backCount = _.get(req.session, 'backupCaptch.count'); // 短信验证码 发送次数 |
217 | 209 | ||
218 | if (!backCount) { | 210 | if (!backCount) { |
-
Please register or login to post a comment