修复文件增删改查请求参数

This commit is contained in:
junleea 2025-03-28 19:21:16 +08:00
parent 4bad0b1d59
commit af76f6b50d
1 changed files with 3 additions and 3 deletions

View File

@ -23,9 +23,9 @@ func SetUpFileGroup(router *gin.Engine) {
}
type GetUserFileListReq struct {
FileID int `json:"file_id"` // 文件ID
FileName string `json:"file_name"` // 文件名search时必须
Type string `json:"type"` // all,search
FileID int `json:"file_id" form:"file_id"` // 文件ID
FileName string `json:"file_name" form:"file_name"` // 文件名search时必须
Type string `json:"type" form:"type"` // all,search
}
func GetUserFileList(c *gin.Context) {