添加用户缓存及更新,添加配置文件增删改查接口,添加文件功能,参数非必需
This commit is contained in:
parent
3b46273a3b
commit
2320a997b4
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue