Merge branch 'refs/heads/feat-file'
This commit is contained in:
commit
7aa6be4fe7
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue