shish 1 жил өмнө
parent
commit
b762aa4176

+ 10 - 0
app-hd/controllers/PurchaseController.php

@@ -329,6 +329,16 @@ class PurchaseController extends BaseController
             $ghsInfo['kiloFee'] = $ghsShopInfo->kiloFee ?? 0;
             $ghsInfo['miniKilo'] = $ghsShopInfo->miniKilo ?? 0;
 
+            //旭海银柳的临时解决办法
+            print_r($productList);
+            die;
+            if (getenv('YII_ENV') == 'production') {
+                $smallSet = [];
+                $bigSet = [];
+                $getIds = array_column($productList, 'productId');
+                $intersection = array_intersect($array1, $array2);
+            }
+
             $post['product'] = $productList;
 
             $sendType = $post['sendType'] ?? 0;