Ver código fonte

优化运费计算

evoxwht 2 anos atrás
pai
commit
fc192329e8

+ 1 - 1
crmeb/app/services/order/StoreOrderComputedServices.php

@@ -480,7 +480,7 @@ class StoreOrderComputedServices extends BaseServices
                 $tempId = $item['productInfo']['temp_id'] ?? 0;
                 $tempPostage = $truePostageArr[$tempId] ?? 0;
                 $tempNumber = $temp_num[$tempId]['number'] ?? 0;
-                if (!$tempId || !$tempPostage || !$tempNumber) continue;
+                if (!$tempId || !$tempPostage) continue;
                 $type = $temp_num[$tempId]['type'];