shish 3 лет назад
Родитель
Сommit
4d42d7e8ab
1 измененных файлов с 0 добавлено и 5 удалено
  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) {