shish 1 year ago
parent
commit
7bc81242a3

+ 1 - 1
app-ghs/controllers/ShopAdminController.php

@@ -262,7 +262,7 @@ class ShopAdminController extends BaseController
         }
         if ($founder == 2) {
             if ($super == 0) {
-                //util::fail('超管不能关闭改库存改价权限');
+                util::fail('超管不能关闭改库存改价权限');
             }
         }
         if (!empty($name)) {

+ 1 - 1
app-hd/controllers/ShopAdminController.php

@@ -225,7 +225,7 @@ class ShopAdminController extends BaseController
         }
         if ($founder == 2) {
             if ($super == 0) {
-                //util::fail('超管不能关闭改库存改价权限');
+                util::fail('超管不能关闭改库存改价权限');
             }
         }
         $roleId = $post['roleId'] ?? 0;