- continue refactoring...
This commit is contained in:
@@ -31,13 +31,12 @@ func (c *DadaOrderController) OrderStatusChanged() {
|
||||
callbackResponse = cc.OrderStatusChanged(obj)
|
||||
}
|
||||
if globals.CallNewMsgHandler {
|
||||
cc2 := &dada.WaybillController{}
|
||||
if globals.CallLegacyMsgHandler {
|
||||
utils.CallFuncAsync(func() {
|
||||
cc2.OnWaybillMsg(obj)
|
||||
dada.OnWaybillMsg(obj)
|
||||
})
|
||||
} else {
|
||||
callbackResponse = cc2.OnWaybillMsg(obj)
|
||||
callbackResponse = dada.OnWaybillMsg(obj)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user