1
This commit is contained in:
@@ -95,7 +95,7 @@ func (c *DeliveryHandler) onWaybillMsg(msg *dadaapi.CallbackMsg) (retVal *dadaap
|
||||
order.Status = model.WaybillStatusUnknown
|
||||
}
|
||||
err := dadaapi.Err2CallbackResponse(partner.CurOrderManager.OnWaybillStatusChanged(order), utils.Int2Str(order.Status))
|
||||
delivery.GetOrderRiderInfoToPlatform(order.VendorOrderID) // 骑手位置更新
|
||||
defer delivery.GetOrderRiderInfoToPlatform(order.VendorOrderID) // 骑手位置更新
|
||||
return err
|
||||
}
|
||||
|
||||
@@ -459,7 +459,7 @@ func (c *DeliveryHandler) GetRiderInfo(orderId string, deliveryId int64, mtPeiso
|
||||
case 4: // 完成
|
||||
result.LogisticsStatus = model.WaybillStatusDelivered
|
||||
case 5: // 取消
|
||||
result.LogisticsStatus = model.WaybillStatusAcceptCanceled
|
||||
result.LogisticsStatus = model.WaybillStatusCanceled
|
||||
case 9: // 配送异常
|
||||
result.LogisticsStatus = model.WaybillStatusDeliverFailed
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user