constant.go 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package constant
  2. const (
  3. GameNodeType = "game"
  4. Token = "Token"
  5. RankKey = "rank"
  6. CountryRankKey = "countryRank"
  7. PlayerBaseKey = "playerBase"
  8. DrawHourKey = "DrawHour"
  9. DrawDailyKey = "drawDaily"
  10. DrawWeeklyKey = "drawWeekly"
  11. InviteKey = "Invite"
  12. InviteTagKey = "InviteTagKey"
  13. InviteScoreKey = "InviteScore"
  14. InviteRatioRecordKey = "InviteRatioRecord"
  15. InviteNodeHistoryKey = "InviteNodeHistory"
  16. WeekItemRecordKey = "WeekItemRecord"
  17. PlayerDailyKey = "PlayerDaily"
  18. PlayerStatHKey = "PlayerStat"
  19. PlayerLevelStatHKey = "PlayerLevelStat"
  20. ServerLoadHKey = "ServerLoad"
  21. PlayerIpRecordKey = "PlayerIpRecord"
  22. RocketLvKey = "RocketLv"
  23. PlayerTotalKey = "PlayerTotal"
  24. MoneyRatio = 10000000
  25. AdminAccess = "admin"
  26. TotalIncomeKey = "TotalIncome"
  27. )
  28. // 游戏表名
  29. const (
  30. CNameAccount = "account" // 账号
  31. CNamePlayer = "player" // 玩家
  32. CNamePlayerReward = "playerReward" // 玩家奖励
  33. CNamePlayerDailyRecord = "playerDailyRecord" // 玩家每日记录
  34. CNameCashOutRecord = "cashOutRecord" // 提现记录
  35. CNamePlayerLevelStat = "playerLevelStat" // 玩家等级统计
  36. CNameServerLoadStat = "serverLoadStat" // 服务器负载统计
  37. CNamePlayerCountryByIPStat = "playerCountryStat" // 玩家注册国家统计
  38. )
  39. // 榜单数据来源类型
  40. const (
  41. RankSourceInvite = 2 // 邀请
  42. RankSourceRoll = 3 // 抽奖次数
  43. RankSourceGold = 1 // 金币
  44. )
  45. // roll 结果类型
  46. const (
  47. RollSmallBet = 0 // <9
  48. RollBigBet = 1 // >=9
  49. RollDoubleBet = 2 // 对子
  50. RollTripleBet = 3 // 豹子2345
  51. RollSpecialTripleBet = 4 // 豹子16
  52. )