结构修改
This commit is contained in:
parent
98035bee13
commit
348756eebf
|
@ -3,6 +3,7 @@ package tools
|
|||
import (
|
||||
"ai_scheduler/internal/config"
|
||||
"ai_scheduler/internal/entitys"
|
||||
"ai_scheduler/internal/pkg"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
@ -95,7 +96,7 @@ func (z ZltxOrderStatisticsTool) getZltxOrderStatistics(number string, requireDa
|
|||
return err
|
||||
}
|
||||
if resData.Code != 200 {
|
||||
return fmt.Errorf("zltx order statistics error: %s", resData.Error)
|
||||
return fmt.Errorf("为获取到数据,请检查权限: %s", pkg.JsonStringIgonErr(resData))
|
||||
}
|
||||
//按照日期排序
|
||||
sort.Slice(resData.Data.RecentThreeDays, func(i, j int) bool {
|
||||
|
|
Loading…
Reference in New Issue