|
|
@ -35,7 +35,7 @@ class VerifyCodeService implements VerifyCodeServiceInterface |
|
|
// 存到SSDB
|
|
|
// 存到SSDB
|
|
|
$ssdbClient = ApplicationContext::getContainer()->get(SSDBTask::class); |
|
|
$ssdbClient = ApplicationContext::getContainer()->get(SSDBTask::class); |
|
|
$setRes = $ssdbClient->exec( |
|
|
$setRes = $ssdbClient->exec( |
|
|
"setnx", |
|
|
|
|
|
|
|
|
"set", |
|
|
SsdbKeys::VERIFY_CODE.$userId.'_'.$tel, |
|
|
SsdbKeys::VERIFY_CODE.$userId.'_'.$tel, |
|
|
$verifyCode |
|
|
$verifyCode |
|
|
); |
|
|
); |
|
|
|