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

88 lines
2.5 KiB

package values
import (
"server/common"
)
// GameNum 子项游戏请求个数
type FirstPageReq struct {
GameNum int
}
type FirstPageResp struct {
Currencys []OneCurrency
Activitys []*common.ConfigBanner
GameTypes []*common.ConfigGameType
GameMarks []*common.ConfigGameMark
Providers []*common.ConfigGameProvider
Games []OneFisrtPageGame
Esport *common.ConfigGameList
DownloadAppReward int64
ShowData ShowInfo // 首页头部展示
CurrencyResource []*common.ConfigCurrencyResource
}
type Tag struct {
ID int `json:"id"` //
Name string `json:"name"`
Action int `json:"action"` // 1:游戏分类,2:web跳转,3:活动,4:支付
Icon string `json:"icon"`
Data string `json:"data"`
}
type GameData struct {
Id int `json:"id"` // id
GameId int `json:"gameId"` // 游戏id
GameProvider int `json:"gameProvider"` // 厂商id
GameTag int `json:"gameTag"` // 游戏标签(1:热门,2:最新,3:推荐)
GameStatus int `json:"gameStatus"` // 展示状态(1:上线,2:下线,3:维护中,4:即将上线)
GameIcon string `json:"gameIcon"` // 游戏图标
}
type TagWithGameList struct {
ID int `json:"id"`
Name string `json:"name"`
Action int `json:"action"` // 1:游戏分类,2:web跳转,3:活动,4:支付
Icon string `json:"icon"`
List []GameData `json:"list"` // 游戏列表
Total int `json:"total"` // 总数
Data string `json:"data"`
}
type Banner struct {
Id int `json:"id"` //
Action int `json:"action"`
Url string `json:"url"`
Data string `json:"data"`
Icon string `json:"icon"`
}
type FirstPageNewResp struct {
Currencys []OneCurrency
DownloadAppReward int64
ShowData ShowInfo // 首页头部展示
CurrencyResource []*common.ConfigCurrencyResource
GameTags []Tag
Banners []Banner
}
type ShowInfo struct {
Reward int64 `redis:"Reward"` // 奖金
AverWithdraw int64 `redis:"AverWithdraw"` // 平均提现时间
MaxBet int64 `redis:"MaxBet"` // 今日最大下注
WithdrawCount int64 `redis:"WithdrawCount"` // 今日提现总额
}
type OneCurrency struct {
ID common.CurrencyType
Name string
}
// Icon 游戏标题图标
// Name 游戏标题名
// JumpID 跳转查询id
// JumpType 跳转类型 1type 2mark
// Sort 排序
type OneFisrtPageGame struct {
*common.ConfigFirstPageGames
List []*common.ConfigGameList
}