1
This commit is contained in:
@@ -987,13 +987,11 @@ func (c *PurchaseHandler) CancelLogisticsByWmOrderId(order *model.GoodsOrder, re
|
||||
func (c *PurchaseHandler) OrderLogisticsStatus(orderId string) (data *utils.RiderInfo, err error) {
|
||||
orderInfo, err := dao.GetSimpleOrder(dao.GetDB(), orderId)
|
||||
if err != nil {
|
||||
data.LogisticsStatus = 0
|
||||
return data, errors.New("获取本地门店账号信息失败,请重试")
|
||||
}
|
||||
|
||||
waybill, err := getAPI(orderInfo.VendorOrgCode, 0, "").GetShipmentInfo(utils.Str2Int64(orderInfo.VendorOrderID), 0, tiktokShop.ShipmentTypeInvoice)
|
||||
if err != nil {
|
||||
data.LogisticsStatus = 0
|
||||
return data, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user