From 348756eebf58ddbdc4f273b221b344aa56611fb5 Mon Sep 17 00:00:00 2001 From: renzhiyuan <465386466@qq.com> Date: Thu, 9 Oct 2025 17:21:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E6=9E=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/tools/zltx_statistics.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/tools/zltx_statistics.go b/internal/tools/zltx_statistics.go index 7601605..d15d552 100644 --- a/internal/tools/zltx_statistics.go +++ b/internal/tools/zltx_statistics.go @@ -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 {