|
|
|
|
@ -60,7 +60,7 @@ func GetBalance(c *gin.Context) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
resp.Data.Balance = call.GetUserCurrencyFloat(uid, common.CurrencyType(currency), 2) |
|
|
|
|
resp.Data.Level = call.GetProviderGameRtp(uid) |
|
|
|
|
resp.Data.Level = call.GetRtpControlV1(uid) |
|
|
|
|
log.Debug("GetBalanceResp:%+v", resp) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -123,7 +123,7 @@ func GameBet(c *gin.Context) { |
|
|
|
|
|
|
|
|
|
resp.Data.Balance = call.GetUserCurrencyFloat(uid, common.CurrencyType(currency), 2) |
|
|
|
|
|
|
|
|
|
resp.Data.Level = call.GetProviderGameRtp(uid) |
|
|
|
|
resp.Data.Level = call.GetRtpControlV1(uid) |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
betReq.SettleAmount = int64(req.Amount * common.DecimalDigits) |
|
|
|
|
@ -138,7 +138,7 @@ func GameBet(c *gin.Context) { |
|
|
|
|
|
|
|
|
|
resp.Data.Balance = call.GetUserCurrencyFloat(uid, common.CurrencyType(currency), 2) |
|
|
|
|
|
|
|
|
|
resp.Data.Level = call.GetProviderGameRtp(uid) |
|
|
|
|
resp.Data.Level = call.GetRtpControlV1(uid) |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
record = &common.ProviderBetRecord{ |
|
|
|
|
@ -176,7 +176,7 @@ func GameBet(c *gin.Context) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
resp.Data.Balance = call.GetUserCurrencyFloat(uid, common.CurrencyType(currency), 2) |
|
|
|
|
resp.Data.Level = call.GetProviderGameRtp(uid) |
|
|
|
|
resp.Data.Level = call.GetRtpControlV1(uid) |
|
|
|
|
return |
|
|
|
|
} else { |
|
|
|
|
if record.ID >= 0 { |
|
|
|
|
@ -217,7 +217,7 @@ func GameBet(c *gin.Context) { |
|
|
|
|
} |
|
|
|
|
resp.Data.Balance = util.Decimal(float64(adjustResp.Balance)/common.DecimalDigits, 2) |
|
|
|
|
} |
|
|
|
|
resp.Data.Level = call.GetProviderGameRtp(uid) |
|
|
|
|
resp.Data.Level = call.GetRtpControlV1(uid) |
|
|
|
|
log.Debug("GameBetResp:%+v", resp) |
|
|
|
|
a.Data = resp |
|
|
|
|
} |
|
|
|
|
|