@@ -342,7 +342,10 @@ class ProductController extends BaseController
$shop = $this->shop;
$default = $shop->default ?? 0;
if ($default != 1) {
- util::fail('请在首店修改');
+ //除了上下架其它只能在首店修改
+ if (isset($post['delStatus']) == false) {
+ util::fail('请在首店修改');
+ }
}
$shopAdmin = $this->shopAdmin;