Merge branch 'refs/heads/feat-file'

This commit is contained in:
junleea 2025-01-03 15:57:24 +08:00
commit 7aa6be4fe7
1 changed files with 6 additions and 6 deletions

View File

@ -10,12 +10,12 @@ type FileUploadReq struct {
} }
type ConfigFileReq struct { type ConfigFileReq struct {
ID int `json:"id" form:"id" binding:"required"` ID int `json:"id" form:"id"`
Type string `json:"type" form:"type" binding:"required"` //查询类型one,all Type string `json:"type" form:"type"` //查询类型one,all
DelFile bool `json:"del_file" form:"del_file"` //删除文件 DelFile bool `json:"del_file"` //删除文件
FileName string `json:"file_name" form:"file_name" binding:"required"` FileName string `json:"file_name" form:"file_name"`
FilePath string `json:"file_path" form:"file_path" binding:"required"` FilePath string `json:"file_path" form:"file_path"`
Content string `json:"content" form:"content" binding:"required"` Content string `json:"content" form:"content"`
} }
type SearchOneConfigFileResp struct { type SearchOneConfigFileResp struct {