From 92c0b00915317b18fac63cfeed0ceb59e9818461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 30 Jul 2024 14:22:24 +0800 Subject: [PATCH] 1 --- business/jxcallback/orderman/order.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 317629bb8..6255d6e7d 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -176,7 +176,9 @@ func (c *OrderManager) OnOrderStatusChanged(vendorOrgCode string, orderStatus *m panic(r) } }() - + if orderStatus.VendorOrderID == "3901182973700720079" { + globals.SugarLogger.Debugf("=======orderStatus := %s", utils.Format4Output(orderStatus, false)) + } // 有些平台(比如美团外卖),在新订单事件没有成功返回,但在重发订单消息前,订单状态转换,则不会再重发新订单事件,特殊处理一下 if orderStatus != nil && orderStatus.Status == model.OrderStatusAccepted { loadOrder, err2 := c.LoadOrder(orderStatus.VendorOrderID, orderStatus.VendorID)