From 53b44dab82da8c59fdabbd8099a2af59ca3e6f3c Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期四, 09 十一月 2023 15:41:06 +0800
Subject: [PATCH] 销售明细状态更新修改

---
 api/v1/file.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/api/v1/file.go b/api/v1/file.go
index 348a72c..bf86288 100644
--- a/api/v1/file.go
+++ b/api/v1/file.go
@@ -188,7 +188,7 @@
 	service.NewFileService().UpdateFile(file)
 
 	data, err := io.ReadAll(f)
-	c.Writer.Header().Set("Content-Type", "application/octect-stream")
+	c.Writer.Header().Set("Content-Type", "application/octet-stream")
 	c.Writer.Header().Set("Content-Disposition", "attachment;filename="+file.Name)
 	c.Writer.Write(data)
 }

--
Gitblit v1.8.0