jili2统计

dev
mofangmin 1 year ago
parent 4df4eb8197
commit 094e436e70
  1. 4
      modules/web/handler/game.go
  2. 2
      modules/web/providers/jili2/handler.go

@ -111,6 +111,10 @@ func EnterGame(c *gin.Context) {
if game != nil && game.Open == 1 {
req.Provider = providerId
resp.Method = provider.Method
} else {
a.Code = values.CodeParam
a.Msg = "Under Maintenance,please try later."
return
}
}

@ -122,7 +122,7 @@ func PlaceBet(c *gin.Context) {
TurnOver: int64(req.Bet * common.DecimalDigits),
SettleAmount: int64(req.Award * common.DecimalDigits),
SessionType: common.SessionTypeSettle,
GameID: GetGameID(common.ProviderPG2, req.GameID),
GameID: GetGameID(common.ProviderJiLi2, req.GameID),
GameName: req.GameID,
Provider: provider,
BetID: req.BetID,

Loading…
Cancel
Save