|
|
|
|
@ -44,9 +44,10 @@ const ( |
|
|
|
|
RedisKeyRealMail = "realMail" // 给玩家发真实邮件控制
|
|
|
|
|
// RedisKeyPlayerPay = "playerPay" // 玩家10分钟内付费拉起的渠道记录
|
|
|
|
|
RedisKeyPlayerPayInterval = "playerPayInterval" // 玩家拉单间隔限制
|
|
|
|
|
RedisKeyGameCurrency = "gameCurrency" // 玩家进入游戏时选择的币种
|
|
|
|
|
RedisKeyPlayerRTP = "playerRtp" // 玩家RTP
|
|
|
|
|
RedisKeyChannelOrder = "channelOrder" //
|
|
|
|
|
RedisKeyPlayerPayCount = "playerPayIntervalCount" |
|
|
|
|
RedisKeyGameCurrency = "gameCurrency" // 玩家进入游戏时选择的币种
|
|
|
|
|
RedisKeyPlayerRTP = "playerRtp" // 玩家RTP
|
|
|
|
|
RedisKeyChannelOrder = "channelOrder" //
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
const ( |
|
|
|
|
@ -60,7 +61,7 @@ func GetRedisKeyGameCurrency(uid int) string { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func GetRedisKeyPlayerPayCount(uid int) string { |
|
|
|
|
return fmt.Sprintf("%v:%v:%v", RedisKeyPlayerPayInterval, uid) |
|
|
|
|
return fmt.Sprintf("%v:%v:%v", RedisKeyPlayerPayCount, uid) |
|
|
|
|
} |
|
|
|
|
func GetRedisKeyPlayerChannelPayInterval(channel, uid int) string { |
|
|
|
|
return fmt.Sprintf("%v:%v:%v", RedisKeyPlayerPayInterval, uid, channel) |
|
|
|
|
|