diff --git a/app/Service/v3/Implementations/VerifyCodeService.php b/app/Service/v3/Implementations/VerifyCodeService.php index f71fe57..565bfcc 100644 --- a/app/Service/v3/Implementations/VerifyCodeService.php +++ b/app/Service/v3/Implementations/VerifyCodeService.php @@ -35,7 +35,7 @@ class VerifyCodeService implements VerifyCodeServiceInterface // 存到SSDB $ssdbClient = ApplicationContext::getContainer()->get(SSDBTask::class); $setRes = $ssdbClient->exec( - "setnx", + "set", SsdbKeys::VERIFY_CODE.$userId.'_'.$tel, $verifyCode );