|
|
|
@ -93,13 +93,7 @@ func GetGameUserInfo(c *gin.Context) { |
|
|
|
// usdtInfo := call.GetPlayerRechargeInfoByCurrency(uid, common.CurrencyUSDT)
|
|
|
|
// usdtInfo := call.GetPlayerRechargeInfoByCurrency(uid, common.CurrencyUSDT)
|
|
|
|
resp.RechargeBrl = brlInfo.TotalRecharge |
|
|
|
resp.RechargeBrl = brlInfo.TotalRecharge |
|
|
|
resp.WithdrawBrl = brlInfo.TotalWithdraw |
|
|
|
resp.WithdrawBrl = brlInfo.TotalWithdraw |
|
|
|
rtp := call.GetUserRtp(uid) |
|
|
|
resp.Rtp, _ = db.Redis().GetInt(common.GetRedisKeyPlayerRtp(uid)) |
|
|
|
if rtp.Id == 0 { |
|
|
|
|
|
|
|
db.Mysql().Create(rtp) |
|
|
|
|
|
|
|
rtp.Rtp, _ = db.Redis().GetInt(common.GetRedisKeyPlayerRtp(uid)) |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
resp.Rtp = rtp.Rtp |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// resp.RechargeUsdt = usdtInfo.TotalRecharge
|
|
|
|
// resp.RechargeUsdt = usdtInfo.TotalRecharge
|
|
|
|
// resp.WithdrawUsdt = usdtInfo.TotoalWithdraw
|
|
|
|
// resp.WithdrawUsdt = usdtInfo.TotoalWithdraw
|
|
|
|
|
|
|
|
|
|
|
|
|