|
|
|
@ -104,6 +104,10 @@ func GetGameUserInfo(c *gin.Context) { |
|
|
|
// resp.RechargeUsdt = usdtInfo.TotalRecharge
|
|
|
|
// resp.RechargeUsdt = usdtInfo.TotalRecharge
|
|
|
|
// resp.WithdrawUsdt = usdtInfo.TotoalWithdraw
|
|
|
|
// resp.WithdrawUsdt = usdtInfo.TotoalWithdraw
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
referUp := &common.ShareInfo{UID: uid} |
|
|
|
|
|
|
|
db.Mysql().Get(referUp) |
|
|
|
|
|
|
|
resp.ReferUp = referUp.UP1 |
|
|
|
|
|
|
|
|
|
|
|
db.Mysql().C().Table("users").Select("id").Where("deviceid = ?", user.DeviceId).Scan(&resp.SubAccount) |
|
|
|
db.Mysql().C().Table("users").Select("id").Where("deviceid = ?", user.DeviceId).Scan(&resp.SubAccount) |
|
|
|
// db.Mysql().QueryAll(fmt.Sprintf("deviceid = '%s'", user.DeviceId), "", &common.PlayerDBInfo{}, &resp.SubAccount)
|
|
|
|
// db.Mysql().QueryAll(fmt.Sprintf("deviceid = '%s'", user.DeviceId), "", &common.PlayerDBInfo{}, &resp.SubAccount)
|
|
|
|
a.Data = resp |
|
|
|
a.Data = resp |
|
|
|
|