- 统一清理调用CallMsgHandlerAsync时的primaryID设置
- defsch中,自动接单调用OnOrderStatusChanged改为异步,防止死循环
This commit is contained in:
@@ -50,7 +50,7 @@ func (c *DeliveryHandler) GetVendorID() int {
|
||||
func (c *DeliveryHandler) OnWaybillMsg(msg *dadaapi.CallbackMsg) (retVal *dadaapi.CallbackResponse) {
|
||||
jxutils.CallMsgHandler(func() {
|
||||
retVal = c.onWaybillMsg(msg)
|
||||
}, msg.OrderID)
|
||||
}, jxutils.ComposeUniversalOrderID(msg.OrderID, model.VendorIDDada))
|
||||
return retVal
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user