添加用户缓存及更新,添加配置文件增删改查接口,添加文件功能,参数非必需

This commit is contained in:
junleea 2025-01-03 15:57:18 +08:00
parent 3b46273a3b
commit 2320a997b4
1 changed files with 6 additions and 6 deletions

View File

@ -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 {