This commit is contained in:
邹宗楠
2023-04-28 15:11:09 +08:00
parent ee7a4aba49
commit 484ce07d34
2 changed files with 7 additions and 1 deletions

View File

@@ -221,7 +221,7 @@ func pushMsgByUniApp(storeId int, storeName string, cID []string, msg string, bo
}
if err := api.UniAppApi.SendMsgByUinApp(param); err != nil {
globals.SugarLogger.Errorf("SendMsgByUinApp err := %v", err)
globals.SugarLogger.Errorf("SendMsgByUinApp err := %v,%d", err, utils.Format4Output(param, false))
errs = append(errs, err)
}
}

View File

@@ -62,6 +62,12 @@ func GetOrderRiderInfoToPlatform(orderId string, wayBillStatus int) {
if orderId == "" && v.VendorID == model.VendorIDDD { // 抖音门店订单除了三方配送回调时推送,不在主动推送配送消息
continue
}
// 平台自配送
if v.WaybillVendorID == model.YES {
continue
}
if orderId == "" { // 订单id为空是,是定时轮询操作,不做此状态
waybillList, _ := dao.GetWaybills(dao.GetDB(), v.VendorOrderID)
if len(waybillList) > 0 && waybillList[0].Status > model.WaybillStatusEndBegin {