Commit 43c89f11 by 赵增煜

删除缓存

parent 58581021
...@@ -181,7 +181,7 @@ public function bindRole(Request $request) ...@@ -181,7 +181,7 @@ public function bindRole(Request $request)
$doctor->user_id = $authInfo->id; $doctor->user_id = $authInfo->id;
$doctor->save(); $doctor->save();
// 清除验证码 // 清除验证码
cache()->put("sms_verification_code_{$mobile}", '0', 60); cache()->forget("sms_verification_code_{$mobile}");
} else { } else {
return $this->failed('登录类型错误'); return $this->failed('登录类型错误');
} }
......
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