tuoling805 1 year ago
parent
commit
1ff631c3ad
1 changed files with 1 additions and 1 deletions
  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)