This commit is contained in:
邹宗楠
2023-04-28 15:41:12 +08:00
parent c72c2f077f
commit fff6007567
2 changed files with 3 additions and 4 deletions

View File

@@ -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)
} }
} }

View File

@@ -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
} }
} }