Commit 8b0669db by 杨树贤

fix

parent 0ab3c241
Showing with 1 additions and 1 deletions
...@@ -205,7 +205,7 @@ function Autograph() ...@@ -205,7 +205,7 @@ function Autograph()
function checkPerm($perm) function checkPerm($perm)
{ {
$perms = request()->perms; $perms = request()->perms;
if ($perms === null || request()->user->userId = 1000) { if ($perms === null || request()->user->userId == 1000) {
return true; return true;
} }
return in_array($perm, $perms); return in_array($perm, $perms);
......
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