印度包网
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.
 
 
 

63 lines
1.1 KiB

package values
import "server/common"
// 图片存放地址
var (
ImagePath = "images"
)
// DownLoadImageReq 图片请求
type DownLoadImageReq struct {
ImagePath string `json:"ImagePath" binding:"required"` // 图片地址
}
// EditHistoryListReq 操作日志请求
type EditHistoryListReq struct {
Page uint `json:"Page" binding:"required"`
Num uint `json:"Num" binding:"required"`
}
// EditHistoryListResp 操作日志
type EditHistoryListResp struct {
List []EditHistory
Count int64
}
// GoodListResp 请求物品列表返回
type GoodListResp struct {
List []*common.SheetGoods_config
}
// ProductListResp 请求充值列表返回
type ProductListResp struct {
List []*common.ConfigPayProduct
}
// GamesListResp 游戏列表
type GamesListResp struct {
List []string
}
// ChannelListResp 渠道列表
type ChannelListResp struct {
List []*common.Channel
}
// UserInfoResp 获取用户信息
type UserInfoResp struct {
Name string
Role int
Power string
}
// GameInfoResp 游戏信息,游戏名称跟游戏id
type GameInfoResp struct {
List []GameInfo
RoomId []int
}
type GameInfo struct {
GameId int
Name string
}