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 {