mirror of
https://gitee.com/ctexthuang/hyperf_rbac_framework_server_ctexthuang.git
synced 2025-12-25 17:07:49 +08:00
fix : readme update
This commit is contained in:
@@ -35,7 +35,7 @@ trait AdminUserTrait
|
||||
if (Context::has($key)) {
|
||||
return Context::get($key,false);
|
||||
}
|
||||
$this->redis->with()->lua(RateLimit::class)->check();
|
||||
|
||||
if ($this->redis->with()->exists($key)) {
|
||||
$userInfo = unserialize($this->redis->with()->get($key));
|
||||
Context::set($key,$userInfo);
|
||||
|
||||
Reference in New Issue
Block a user