Browse Source

Merge branch 'phoenix' into master

master
weigang 5 years ago
parent
commit
aabc2083b5
  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, SsdbKeys::VERIFY_CODE.$userId.'_'.$tel,
$verifyCode $verifyCode
); );
if (!$setRes) {
throw new ErrorCodeException(ErrorCode::VERIFY_CODE_SENDED);
}
// if (!$setRes) {
// throw new ErrorCodeException(ErrorCode::VERIFY_CODE_SENDED);
// }
$expireRes = $ssdbClient->exec( $expireRes = $ssdbClient->exec(
'expire', 'expire',

Loading…
Cancel
Save