Bladeren bron

确认发货 自动完成

shish 2 jaren geleden
bovenliggende
commit
240edfd57b

+ 4 - 4
app-hd/controllers/NoticeController.php

@@ -127,9 +127,9 @@ class NoticeController extends PublicController
                     if (isset($cg->book) && $cg->book == 0) {
                         $ghsShopId = $order->shopId ?? 0;
                         if (getenv('YII_ENV') == 'production') {
-                            $specialList = [3, 10649, 8042,16454];
+                            $specialList = [10649, 8042,16454];
                         } else {
-                            $specialList = [36523];
+                            $specialList = [];
                         }
                         if (!in_array($ghsShopId, $specialList)) {
                             $cgShopId = $cg->shopId ?? 0;
@@ -309,9 +309,9 @@ class NoticeController extends PublicController
                     if (isset($cg->book) && $cg->book == 0) {
                         $ghsShopId = $order->shopId ?? 0;
                         if (getenv('YII_ENV') == 'production') {
-                            $specialList = [3, 10649, 8042, 16454];
+                            $specialList = [10649, 8042, 16454];
                         } else {
-                            $specialList = [36523];
+                            $specialList = [];
                         }
                         if (!in_array($ghsShopId, $specialList)) {
                             $cgShopId = $cg->shopId ?? 0;

+ 2 - 2
app-hd/controllers/PurchaseController.php

@@ -519,9 +519,9 @@ class PurchaseController extends BaseController
                 if (isset($cg->book) && $cg->book == 0) {
                     $ghsShopId = $ghs['shopId'] ?? 0;
                     if (getenv('YII_ENV') == 'production') {
-                        $specialList = [3, 10649, 8042,16454];
+                        $specialList = [10649, 8042,16454];
                     } else {
-                        $specialList = [36523];
+                        $specialList = [];
                     }
                     if (!in_array($ghsShopId, $specialList)) {
                         $cgShopId = $cg->shopId ?? 0;

+ 3 - 3
biz-ghs/order/services/OrderService.php

@@ -130,7 +130,7 @@ class OrderService extends BaseService
         if (!empty($cg) && !empty($order)) {
             $ghsShopId = $order->shopId ?? 0;
             if (getenv('YII_ENV') == 'production') {
-                $specialList = [3, 10649, 8042, 16454];
+                $specialList = [10649, 8042, 16454];
             } else {
                 $specialList = [];
             }
@@ -282,9 +282,9 @@ class OrderService extends BaseService
             if (isset($returnOrder->book) && $returnOrder->book == 0) {
                 $ghsShopId = $ghs['shopId'] ?? 0;
                 if (getenv('YII_ENV') == 'production') {
-                    $specialList = [3, 10649, 8042, 16454];
+                    $specialList = [10649, 8042, 16454];
                 } else {
-                    $specialList = [36523];
+                    $specialList = [];
                 }
                 if (!in_array($ghsShopId, $specialList)) {
                     $customShop = ShopClass::getById($customShopId, true);