You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
860 B
37 lines
860 B
package game |
|
|
|
import ( |
|
"github.com/gogf/gf/v2/frame/g" |
|
"tyj_admin/internal/model/entity" |
|
) |
|
|
|
type GetVersionReq struct { |
|
g.Meta `path:"/version/get" tags:"版本号" method:"post" summary:"获取"` |
|
PageNum int `p:"pageNum"` |
|
PageSize int `p:"pageSize"` |
|
} |
|
|
|
type GetVersionRes struct { |
|
g.Meta `mime:"application/json"` |
|
Version []entity.GameVersion `json:"version"` |
|
Total int `json:"total"` |
|
} |
|
|
|
type UpdateVersionReq struct { |
|
g.Meta `path:"/version/update" tags:"版本号" method:"post" summary:"更新"` |
|
Channel string `p:"channel"` |
|
Version string `p:"version"` |
|
} |
|
|
|
type UpdateVersionRes struct { |
|
g.Meta `mime:"application/json"` |
|
} |
|
|
|
type DelVersionReq struct { |
|
g.Meta `path:"/version/del" tags:"版本号" method:"post" summary:"删除"` |
|
Id int32 `p:"id"` |
|
} |
|
|
|
type DelVersionRes struct { |
|
g.Meta `mime:"application/json"` |
|
}
|
|
|