1
This commit is contained in:
@@ -69,7 +69,7 @@ func GetOrderRiderInfoToPlatform(orderId string) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if riderInfo.CourierName == "" && v.WaybillVendorID == -1 && v.DeliveryType == "store"{ // 真商家自送
|
if riderInfo == nil || (riderInfo.CourierName == "" && v.WaybillVendorID == -1 && v.DeliveryType == "store") { // 真商家自送
|
||||||
riderInfo.OrderId = v.VendorOrderID
|
riderInfo.OrderId = v.VendorOrderID
|
||||||
riderInfo.LogisticsStatus = v.Status
|
riderInfo.LogisticsStatus = v.Status
|
||||||
riderInfo.CourierName = "石锋"
|
riderInfo.CourierName = "石锋"
|
||||||
@@ -78,7 +78,6 @@ func GetOrderRiderInfoToPlatform(orderId string) {
|
|||||||
globals.SugarLogger.Debug("同步外卖骑手位置信息到美团失败,未获取到订单的骑手信息:", "----")
|
globals.SugarLogger.Debug("同步外卖骑手位置信息到美团失败,未获取到订单的骑手信息:", "----")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
riderInfo.ThirdCarrierOrderId = v.VendorWaybillID
|
riderInfo.ThirdCarrierOrderId = v.VendorWaybillID
|
||||||
switch riderInfo.LogisticsStatus {
|
switch riderInfo.LogisticsStatus {
|
||||||
case 20: //配送中
|
case 20: //配送中
|
||||||
|
|||||||
Reference in New Issue
Block a user