- 重构了一下misc中定时器相关的函数

This commit is contained in:
gazebo
2019-07-19 15:10:56 +08:00
parent f92ff23a56
commit f65e06168e
4 changed files with 95 additions and 84 deletions

View File

@@ -451,7 +451,7 @@ func (c *OrderController) RefreshOrderFinancial() {
c.callRefreshOrderFinancial(func(params *tOrderRefreshOrderFinancialParams) (retVal interface{}, errCode string, err error) {
timeList, err2 := jxutils.BatchStr2Time(params.FromTime, params.ToTime)
if err = err2; err == nil {
retVal, err = misc.RefreshOrderFinancial(params.Ctx, timeList[0], timeList[1], params.IsAsync, params.IsContinueWhenError)
retVal, err = orderman.FixedOrderManager.RefreshOrderFinancial(params.Ctx, timeList[0], timeList[1], params.IsAsync, params.IsContinueWhenError)
}
return retVal, "", err
})