fix: 优化销售分析数据处理逻辑
This commit is contained in:
parent
08c2094940
commit
62d22c1405
|
|
@ -636,12 +636,12 @@ func (d *DingTalkBotBiz) GetReportLists(ctx context.Context, group *model.AiBotG
|
||||||
}
|
}
|
||||||
|
|
||||||
// 追加电商充值系统统计 - 返回统一使用 []*bbxt.ReportRes
|
// 追加电商充值系统统计 - 返回统一使用 []*bbxt.ReportRes
|
||||||
rechargeReports, err := d.rechargeDailyReport(ctx, time.Now(), product, d.ossClient)
|
//rechargeReports, err := d.rechargeDailyReport(ctx, time.Now(), product, d.ossClient)
|
||||||
if err != nil || len(rechargeReports) == 0 {
|
//if err != nil || len(rechargeReports) == 0 {
|
||||||
return
|
// return
|
||||||
}
|
//}
|
||||||
|
//
|
||||||
reports = append(reports, rechargeReports...)
|
//reports = append(reports, rechargeReports...)
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue