package response type UploadFileResponse struct { GameID int `json:"game_id"` //游戏Id Name string `json:"name" gorm:"comment:文件名"` // 文件名 Url string `json:"url" gorm:"comment:文件地址"` // 文件地址 Tag string `json:"tag" gorm:"comment:文件标签"` // 文件标签 Key string `json:"key" gorm:"comment:编号"` // 编号 Version int `json:"version"` //版本号 } type InfoResponse struct { File UploadFileResponse `json:"file"` }