This commit is contained in:
邹宗楠
2023-07-05 10:16:13 +08:00
parent 784ba51157
commit ac479e7c3f

View File

@@ -39,10 +39,10 @@ func (c *PurchaseHandler) isAfsMsg(orderStatus string, orderId string) bool {
}
func (c *PurchaseHandler) OnAfsOrderMsg(orderId, status string, msg interface{}) (retVal *tao_vegetable.CallBackResult) {
jxutils.CallMsgHandlerAsync(func() {
retVal = c.onAfsOrderMsg(status, msg)
globals.SugarLogger.Debugf("=============errr : %s", utils.Format4Output(retVal, false))
}, jxutils.ComposeUniversalOrderID(orderId, model.VendorIDTaoVegetable))
// 取消线程池执行代码,异步返回
//jxutils.CallMsgHandlerAsync(func() {
retVal = c.onAfsOrderMsg(status, msg)
//}, jxutils.ComposeUniversalOrderID(orderId, model.VendorIDTaoVegetable))
return retVal
}