package base type EnterReq struct { TraceId string `form:"tid"` ThirdName string `json:"tn"` OperatorPlayerSession string `json:"ops"` GameId int64 `json:"gid"` Ts int64 `json:"ts"` IsSimulator bool `json:"is,optional"` } type BetConfig struct { BetChangeList []float64 `json:"bcl"` BetSize []float64 `json:"bs"` //单注 BetLevel []int64 `json:"bl"` //下注线数 BetLines []int64 `json:"bi"` //可选线数 BetType int `json:"bt"` //total计算方式 1.显示成Lines betSize*betLevel*lines (lines) BetSizeIndex int64 `json:"bsi"` //选中的单注下标 BetLevelIndex int64 `json:"bli"` //选中的等级下标 BetLineIndex int64 `json:"bii"` //选中的线数下标 } type TableInfo struct { Coin float64 `json:"c"` BetConfig BetConfig `json:"bc"` } type EnterResp struct { TableInfo TableInfo `json:"ti"` Token string `json:"token"` } type SpinReq struct { TraceId string `form:"tid"` GameId int64 `json:"gid"` BetSizeIndex int64 `json:"bsi"` //选中的单注下标 BetLevelIndex int64 `json:"bli"` //选中的等级下标 BetLineIndex int64 `json:"bii"` //选中的线数下标 Platform string `json:"plf"` BetMode int64 `json:"bm,optional"` //0.常规 1.必中 Ts int64 `json:"ts"` }