Browse Source

Merge branch 'wugg-dev' of wugg/phpstock into version1.5

wugg 2 years ago
parent
commit
81bd3e4847
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Base.php

+ 1 - 1
app/admin/controller/Base.php

@@ -96,7 +96,7 @@ class Base extends \app\BaseController
         /**
          * 超级管理员看到所有人的数据
          */
-        if($uid['roleid']==1){
+        if($uid['roleid']==1 || $uid['roleid']==33){
             $action['write']=[];
         }
         $action['roleid']=$uid['roleid'];