aa
This commit is contained in:
@@ -400,10 +400,14 @@ func (c *OrderManager) GetOrders(ctx *jxcontext.Context, isIncludeFake bool, fro
|
||||
}, orders)
|
||||
tasksch.HandleTask(task, nil, true).Run()
|
||||
result, _ := task.GetResult(0)
|
||||
if len(result) > 0 {
|
||||
pagedInfo.Data = result
|
||||
} else {
|
||||
pagedInfo.Data = orders
|
||||
}
|
||||
} else {
|
||||
pagedInfo.Data = orders
|
||||
}
|
||||
}
|
||||
}
|
||||
return pagedInfo, err
|
||||
|
||||
Reference in New Issue
Block a user