优化运费计算

This commit is contained in:
evoxwht 2023-04-12 14:07:54 +08:00
parent 6dfa7545af
commit fc192329e8

View File

@ -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'];