- replace all goroutine and AfterFunc with recover version
This commit is contained in:
@@ -243,9 +243,9 @@ func (p *PurchaseHandler) postFakeMsg(orderNo int64, fakeStatus string) {
|
||||
OrderNo: orderNo,
|
||||
StatusTime: time.Now(),
|
||||
}
|
||||
go func() {
|
||||
utils.CallFuncAsync(func() {
|
||||
OnCallbackMsg(msg)
|
||||
}()
|
||||
})
|
||||
}
|
||||
|
||||
func (p *PurchaseHandler) arrangeSaleStore(order *model.GoodsOrder, cityName, provinceName string) {
|
||||
|
||||
Reference in New Issue
Block a user