constant.go 1.9 KB

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