shish 1 年之前
父節點
當前提交
e2d5994518
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      app-ghs/controllers/ItemController.php

+ 6 - 0
app-ghs/controllers/ItemController.php

@@ -77,6 +77,12 @@ class ItemController extends BaseController
         if ($item->mainId != $this->mainId) {
             util::fail('不是你的花材');
         }
+
+        $shopAdmin = $this->shopAdmin;
+        if ($shopAdmin->founder == 1) {
+            util::fail('请用超管手机操作');
+        }
+
         $shopId = $this->shopId;
         $ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
         if (empty($ext)) {