shish 3 năm trước cách đây
mục cha
commit
4d42d7e8ab
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      app-ghs/controllers/ProductController.php

+ 0 - 5
app-ghs/controllers/ProductController.php

@@ -740,11 +740,6 @@ class ProductController extends BaseController
     public function actionBatchChangeAddPrice()
     {
         $shop = $this->shop;
-        $join = $shop->join ?? 0;
-        $default = $shop->default ?? 0;
-        if ($join == 0 && $default == 0) {
-            util::fail('请在首店操作');
-        }
 
         $shopAdmin = $this->shopAdmin;
         if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {