upload_file.go 468 B

1234567891011121314
  1. package response
  2. type UploadFileResponse struct {
  3. GameID int `json:"game_id"` //游戏Id
  4. Name string `json:"name" gorm:"comment:文件名"` // 文件名
  5. Url string `json:"url" gorm:"comment:文件地址"` // 文件地址
  6. Tag string `json:"tag" gorm:"comment:文件标签"` // 文件标签
  7. Key string `json:"key" gorm:"comment:编号"` // 编号
  8. Version int `json:"version"` //版本号
  9. }
  10. type InfoResponse struct {
  11. File UploadFileResponse `json:"file"`
  12. }