Commit 5d697ff3 by 孙龙

权限

parent 2d595c98
Showing with 1 additions and 1 deletions
......@@ -736,7 +736,7 @@ class MessageController extends Controller
{
$perms_arr = ['businessNotice'];
$res_perm = $this->getUserPerms($request,$perms_arr);
if(!$res_perm || $res_perm["businessNotice"]){
if(!$res_perm || !$res_perm["businessNotice"]){
die("您没有权限查看");
}
$data=[
......
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