fix: 修正从 resShipmentOrder 获取 shipOrderId 的方式 #72

Merged
longbot merged 1 commits from zhuotianyuan/API:div into stable 2026-01-29 06:39:04 +00:00
1 changed files with 2 additions and 2 deletions

View File

@ -380,8 +380,8 @@ export class LogisticsService {
unique_id = resShipmentOrder.data.uni_order_sn; unique_id = resShipmentOrder.data.uni_order_sn;
state = resShipmentOrder.data.uni_status_code; state = resShipmentOrder.data.uni_status_code;
} else { } else {
co = resShipmentOrder.data?.shipOrderId; co = resShipmentOrder.shipOrderId;
unique_id = resShipmentOrder.data?.shipOrderId; unique_id = resShipmentOrder.shipOrderId;
state = ErpOrderStatus.COMPLETED; state = ErpOrderStatus.COMPLETED;
} }