diff --git a/platformapi/tiktok_shop/tiktok_api/transport.go b/platformapi/tiktok_shop/tiktok_api/transport.go index 4f267cd7..bc2fd4e2 100644 --- a/platformapi/tiktok_shop/tiktok_api/transport.go +++ b/platformapi/tiktok_shop/tiktok_api/transport.go @@ -150,7 +150,7 @@ func (a *API) GetShipmentInfo(shopOrderID, afterSaleID, shipmentType int64) (*su return nil, err } - if strings.Contains(response.SubMsg, "当前查询单据不存在:订单不存在") { + if strings.Contains(response.SubMsg, "当前查询单据不存在:订单不存在") || strings.Contains(response.SubMsg, "未找到当前物流订单, LO") { return &superm_getShipmentInfo_response.ShipmentInfo{ ShopOrderID: shopOrderID, AfterSaleID: 0, @@ -163,7 +163,7 @@ func (a *API) GetShipmentInfo(shopOrderID, afterSaleID, shipmentType int64) (*su RiderLongitude: "", RiderLatitude: "", OccurredTime: "", - }, err + }, nil } if response.Code != RequestSuccessCode {