1
This commit is contained in:
@@ -253,7 +253,7 @@ func OnWaybillMsg(msg *fnpsapi.OrderStatusNottify) (resp *fnpsapi.CallbackRespon
|
||||
globals.SugarLogger.Debugf("FNPS partner.CurOrderManager.OnWaybillStatusChanged fail :[%s]", err)
|
||||
return fnpsapi.Err2CallbackResponse(err, "")
|
||||
}
|
||||
delivery.GetOrderRiderInfoToPlatform(order.VendorOrderID) // 骑手位置更新
|
||||
defer delivery.GetOrderRiderInfoToPlatform(order.VendorOrderID) // 骑手位置更新
|
||||
return fnpsapi.Err2CallbackResponse(nil, "")
|
||||
}
|
||||
|
||||
@@ -323,7 +323,7 @@ func (c *DeliveryHandler) GetRiderInfo(orderId string, deliveryId int64, mtPeiso
|
||||
case 3: // 完成
|
||||
result.LogisticsStatus = model.WaybillStatusDelivered
|
||||
case 4: // 取消
|
||||
result.LogisticsStatus = model.WaybillStatusAcceptCanceled
|
||||
result.LogisticsStatus = model.WaybillStatusCanceled
|
||||
case 5: // 配送异常
|
||||
result.LogisticsStatus = model.WaybillStatusDeliverFailed
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user