Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.5.2
zouap 3 years ago
parent
commit
8e6fcafca3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/user_data_analysis.go

+ 1
- 1
routers/repo/user_data_analysis.go View File

@@ -577,7 +577,7 @@ func QueryUserStaticDataPage(ctx *context.Context) {
filename := sheetName + "_" + startDate + "_" + endDate + ".xlsx"

go writeFileToDisk(ctx, count, re, filename)
ctx.JSON(http.StatusOK, filename)
ctx.Redirect("/api/v1/download_user_define_file?filename=" + filename)
} else {
mapInterface := make(map[string]interface{})
re, count := models.QueryUserStaticDataPage(pageOpts)


Loading…
Cancel
Save