Browse Source

取消短信发送验证码限制

master
weigang 5 years ago
parent
commit
04fd4b557f
  1. 6
      app/Service/v3/Implementations/VerifyCodeService.php

6
app/Service/v3/Implementations/VerifyCodeService.php

@ -39,9 +39,9 @@ class VerifyCodeService implements VerifyCodeServiceInterface
SsdbKeys::VERIFY_CODE.$userId.'_'.$tel,
$verifyCode
);
if (!$setRes) {
throw new ErrorCodeException(ErrorCode::VERIFY_CODE_SENDED);
}
// if (!$setRes) {
// throw new ErrorCodeException(ErrorCode::VERIFY_CODE_SENDED);
// }
$expireRes = $ssdbClient->exec(
'expire',

Loading…
Cancel
Save