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.

36 lines
802 B

package game
import (
"github.com/gogf/gf/v2/frame/g"
"tyj_admin/api/v1/common"
"tyj_admin/internal/model/entity"
)
type GetChannelReq struct {
g.Meta `path:"/channel/get" tags:"channel" method:"get" summary:"获取channel"`
common.PageReq
}
type GetChannelRes struct {
g.Meta `mime:"application/json"`
List []entity.GameChannelList `json:"list"`
common.ListRes
}
type AddChannelReq struct {
g.Meta `path:"/channel/add" tags:"channel" method:"get" summary:"添加channel"`
Id string `p:"id"`
Name string `p:"label"`
Channel string `p:"value"`
Sort string `p:"sort"`
}
type AddChannelRes struct {
}
type DelChannelReq struct {
g.Meta `path:"/channel/del" tags:"channel" method:"get" summary:"删除热更地址"`
Id uint64 `p:"id"`
}
type DelChannelRes struct {
}