tuoling805 1 年之前
父節點
當前提交
1ff631c3ad
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/data_source/guagnzhouqihuo.go

+ 1 - 1
controllers/data_source/guagnzhouqihuo.go

@@ -404,7 +404,7 @@ func (this *DataSourceController) ExportGfexIndexDetail() {
 		}
 	}
 	fileName := `一次性交割卖方仓单详情`
-	fileName += indexCode[:6] + time.Now().Format("06.01.02") + `.xlsx` //文件名称
+	fileName = indexCode[:6] + fileName + `.xlsx` //文件名称
 	this.Ctx.Output.Download(downLoadnFilePath, fileName)
 	defer func() {
 		os.Remove(downLoadnFilePath)