From 46ceb77b79e5c2f9d628fc68f715078c0c8231ce Mon Sep 17 00:00:00 2001 From: renzhiyuan <465386466@qq.com> Date: Tue, 6 Jan 2026 16:51:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E4=BC=81=E4=B8=9A?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=94=AF=E6=8C=81=E5=92=8C=E7=BE=A4=E7=BB=84?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/biz/group_config.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/internal/biz/group_config.go b/internal/biz/group_config.go index 6d83751..4f4938c 100644 --- a/internal/biz/group_config.go +++ b/internal/biz/group_config.go @@ -118,11 +118,10 @@ func (g *GroupConfigBiz) rechargeDailyReport(ctx context.Context, now time.Time, reports = []*bbxt.ReportRes{ { ReportName: "我们的商品统计(电商充值系统)", - Title: fmt.Sprintf("%s 电商充值系统我们的商品统计", now.Format("2006-01-02")), + Title: res["title"].(string), Path: res["path"].(string), Url: res["url"].(string), Data: res["data"].([][]string), - Desc: res["desc"].(string), }, } @@ -180,6 +179,11 @@ func (g *GroupConfigBiz) handleReport(ctx context.Context, rec *entitys.Recogniz return _err } reports = append(reports, repo...) + rechargeReport, _err := g.rechargeDailyReport(ctx, t, product, nil) + if _err != nil || len(repo) == 0 { + return _err + } + reports = append(reports, rechargeReport...) case "report_daily_recharge": product := strings.Split(groupConfig.ProductName, ",") repo, _err := g.rechargeDailyReport(ctx, t, product, nil)