Updata:更新导出字段

This commit is contained in:
jiaji.H 2025-12-15 15:49:23 +08:00
parent 834eb4db1e
commit caef081ab6

View File

@ -134,7 +134,7 @@ func MetricsBundlePurchaseExport(ctx *gin.Context) {
} }
if err := exportStructToExcel(resp.Data, []string{ if err := exportStructToExcel(resp.Data, []string{
"订单编号", "套餐", "用户编号", "客户姓名", "手机号", "支付时间", "套餐视频数", "增值视频数", "套餐金额", "增值金额", "支付金额", "结算金额", "手续费", "汇率(%", "订单编号", "套餐", "用户编号", "客户姓名", "手机号", "支付时间", "增值视频数", "套餐金额", "增值金额", "支付金额", "结算金额", "手续费", "汇率(%",
}, filePath, e.BundlePurchaseExport, req.EndTime, statistic); err != nil { }, filePath, e.BundlePurchaseExport, req.EndTime, statistic); err != nil {
service.Error(ctx, errors.New(common.MetricsBundlePurchaseExportFailed)) service.Error(ctx, errors.New(common.MetricsBundlePurchaseExportFailed))
return return