|
|
@@ -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)) {
|