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.
|
|
|
|
package values
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"server/common"
|
|
|
|
|
"time"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// 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 // 首页头部展示
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ShowInfo struct {
|
|
|
|
|
Reward int64 `redis:"Reward"` // 奖金
|
|
|
|
|
RewardTime time.Time `redis:"RewardTime"`
|
|
|
|
|
AverWithdraw int64 `redis:"AverWithdraw"` // 平均提现时间
|
|
|
|
|
AverWithdrawTime time.Time `redis:"AverWithdrawTime"`
|
|
|
|
|
MaxBet int64 `redis:"MaxBet"` // 今日最大下注
|
|
|
|
|
MaxBetTime time.Time `redis:"MaxBetTime"`
|
|
|
|
|
WithdrawCount int64 `redis:"WithdrawCount"` // 今日提现总额
|
|
|
|
|
WithdrawCountTime int64 `redis:"WithdrawCountTime"`
|
|
|
|
|
}
|
|
|
|
|
type OneCurrency struct {
|
|
|
|
|
ID common.CurrencyType
|
|
|
|
|
Name string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Icon 游戏标题图标
|
|
|
|
|
// Name 游戏标题名
|
|
|
|
|
// JumpID 跳转查询id
|
|
|
|
|
// JumpType 跳转类型 1type 2mark
|
|
|
|
|
// Sort 排序
|
|
|
|
|
type OneFisrtPageGame struct {
|
|
|
|
|
*common.ConfigFirstPageGames
|
|
|
|
|
List []*common.ConfigGameList
|
|
|
|
|
}
|