diff --git a/business/jxutils/unipush/push.go b/business/jxutils/unipush/push.go index 3a3741b5d..6beaf271d 100644 --- a/business/jxutils/unipush/push.go +++ b/business/jxutils/unipush/push.go @@ -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) } } diff --git a/business/partner/delivery/rider.go b/business/partner/delivery/rider.go index 9da71d58d..6617294cb 100644 --- a/business/partner/delivery/rider.go +++ b/business/partner/delivery/rider.go @@ -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 {