shish hai 1 ano
pai
achega
25a3f7903f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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 (isset($staff->super) == false || $staff->super == 0) {
-            if ($this->adminId != 4) {
+            //花掌柜的小石,源花汇的小吕和小吴,没有改库存改价格权限也要能修改门店
+            if (!in_array($this->adminId, [4, 11961, 11976])) {
                 util::fail('没有修改门店权限哦');
                 util::fail('没有修改门店权限哦');
             }
             }
         }
         }