fix: 优化销售分析数据处理逻辑

This commit is contained in:
renzhiyuan 2026-01-01 16:24:06 +08:00
parent 08c2094940
commit 62d22c1405
1 changed files with 6 additions and 6 deletions

View File

@ -636,12 +636,12 @@ func (d *DingTalkBotBiz) GetReportLists(ctx context.Context, group *model.AiBotG
}
// 追加电商充值系统统计 - 返回统一使用 []*bbxt.ReportRes
rechargeReports, err := d.rechargeDailyReport(ctx, time.Now(), product, d.ossClient)
if err != nil || len(rechargeReports) == 0 {
return
}
reports = append(reports, rechargeReports...)
//rechargeReports, err := d.rechargeDailyReport(ctx, time.Now(), product, d.ossClient)
//if err != nil || len(rechargeReports) == 0 {
// return
//}
//
//reports = append(reports, rechargeReports...)
return
}