1
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user