1
This commit is contained in:
@@ -221,7 +221,6 @@ func pushMsgByUniApp(storeId int, storeName string, cID []string, msg string, bo
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err := api.UniAppApi.SendMsgByUinApp(param); err != nil {
|
if err := api.UniAppApi.SendMsgByUinApp(param); err != nil {
|
||||||
globals.SugarLogger.Errorf("SendMsgByUinApp err := %v,%s", err, utils.Format4Output(param, false))
|
|
||||||
errs = append(errs, err)
|
errs = append(errs, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ func GetOrderRiderInfoToPlatform(orderId string, wayBillStatus int) {
|
|||||||
if v.WaybillVendorID == model.YES {
|
if v.WaybillVendorID == model.YES {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if orderId == "" { // 订单id为空是,是定时轮询操作,不做此状态
|
if orderId == "" { // 订单id为空是,是定时轮询操作,不做此状态
|
||||||
waybillList, _ := dao.GetWaybills(dao.GetDB(), v.VendorOrderID)
|
waybillList, _ := dao.GetWaybills(dao.GetDB(), v.VendorOrderID)
|
||||||
if len(waybillList) > 0 && waybillList[0].Status > model.WaybillStatusEndBegin {
|
if len(waybillList) > 0 && waybillList[0].Status > model.WaybillStatusEndBegin {
|
||||||
@@ -109,7 +109,7 @@ func GetOrderRiderInfoToPlatform(orderId string, wayBillStatus int) {
|
|||||||
riderInfo.LogisticsStatus = 0
|
riderInfo.LogisticsStatus = 0
|
||||||
riderInfo.OpCode = tiktok_api.TiktokLogisticsStatusCALLRIDER
|
riderInfo.OpCode = tiktok_api.TiktokLogisticsStatusCALLRIDER
|
||||||
case 12: // 骑手接单
|
case 12: // 骑手接单
|
||||||
riderInfo.LogisticsStatus = 12
|
riderInfo.LogisticsStatus = 10
|
||||||
riderInfo.OpCode = tiktok_api.TiktokLogisticsORDERRECEIVED
|
riderInfo.OpCode = tiktok_api.TiktokLogisticsORDERRECEIVED
|
||||||
case 15: // 到店
|
case 15: // 到店
|
||||||
riderInfo.LogisticsStatus = 15
|
riderInfo.LogisticsStatus = 15
|
||||||
@@ -166,7 +166,7 @@ func GetOrderRiderInfoToPlatform(orderId string, wayBillStatus int) {
|
|||||||
case model.VendorIDDD: // 抖店小时达
|
case model.VendorIDDD: // 抖店小时达
|
||||||
continue
|
continue
|
||||||
default:
|
default:
|
||||||
globals.SugarLogger.Errorf("Order source error, non system order")
|
globals.SugarLogger.Errorf("Order source error, non system order: %s", v.VendorOrderID)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user