修复文件增删改查请求参数
This commit is contained in:
parent
4bad0b1d59
commit
af76f6b50d
|
|
@ -23,9 +23,9 @@ func SetUpFileGroup(router *gin.Engine) {
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetUserFileListReq struct {
|
type GetUserFileListReq struct {
|
||||||
FileID int `json:"file_id"` // 文件ID
|
FileID int `json:"file_id" form:"file_id"` // 文件ID
|
||||||
FileName string `json:"file_name"` // 文件名search时必须
|
FileName string `json:"file_name" form:"file_name"` // 文件名search时必须
|
||||||
Type string `json:"type"` // all,search
|
Type string `json:"type" form:"type"` // all,search
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetUserFileList(c *gin.Context) {
|
func GetUserFileList(c *gin.Context) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue