From 2320a997b4e973a97726b86ab289055d12355249 Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Fri, 3 Jan 2025 15:57:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=94=A8=E6=88=B7=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E5=8F=8A=E6=9B=B4=E6=96=B0=EF=BC=8C=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E5=A2=9E=E5=88=A0=E6=94=B9?= =?UTF-8?q?=E6=9F=A5=E6=8E=A5=E5=8F=A3=EF=BC=8C=E6=B7=BB=E5=8A=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=8A=9F=E8=83=BD,=E5=8F=82=E6=95=B0=E9=9D=9E?= =?UTF-8?q?=E5=BF=85=E9=9C=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/file_req.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/proto/file_req.go b/proto/file_req.go index 50e40c3..58fd716 100644 --- a/proto/file_req.go +++ b/proto/file_req.go @@ -10,12 +10,12 @@ type FileUploadReq struct { } type ConfigFileReq struct { - ID int `json:"id" form:"id" binding:"required"` - Type string `json:"type" form:"type" binding:"required"` //查询类型,one,all - DelFile bool `json:"del_file" form:"del_file"` //删除文件 - FileName string `json:"file_name" form:"file_name" binding:"required"` - FilePath string `json:"file_path" form:"file_path" binding:"required"` - Content string `json:"content" form:"content" binding:"required"` + ID int `json:"id" form:"id"` + Type string `json:"type" form:"type"` //查询类型,one,all + DelFile bool `json:"del_file"` //删除文件 + FileName string `json:"file_name" form:"file_name"` + FilePath string `json:"file_path" form:"file_path"` + Content string `json:"content" form:"content"` } type SearchOneConfigFileResp struct {