Commit a126c59e by 赵增煜

清除验证码

parent 09273752
......@@ -146,7 +146,7 @@ public function bindRole(Request $request)
if ($verificationCode != $code) {
return $this->failed('验证码错误,请重新发送!');
}
# 验证通过清除验证码
// 验证通过清除验证码
cache()->forget("sms_verification_code_{$mobile}");
// 验证手机号是否存在
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment