shish 1 year ago
parent
commit
25a3f7903f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app-ghs/controllers/ShopController.php

+ 2 - 1
app-ghs/controllers/ShopController.php

@@ -151,7 +151,8 @@ class ShopController extends BaseController
             }
         }
         if (isset($staff->super) == false || $staff->super == 0) {
-            if ($this->adminId != 4) {
+            //花掌柜的小石,源花汇的小吕和小吴,没有改库存改价格权限也要能修改门店
+            if (!in_array($this->adminId, [4, 11961, 11976])) {
                 util::fail('没有修改门店权限哦');
             }
         }