互动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
2.0 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. package define
  2. import "time"
  3. const TimeFormat = "2006-01-01 15:04:05"
  4. const (
  5. MODULE_SIGNIN = "签到"
  6. MODULE_TUGWAR = "拔河"
  7. MODULE_SHAKRB = "摇红包"
  8. MODULE_SHAKETK = "摇奖券"
  9. MODULE_ORDER = "订单"
  10. MODULE_UPPERW = "上墙"
  11. MODULE_BULLYS = "霸屏"
  12. MODULE_LOTTERY = "抽奖"
  13. MODULE_VOTE = "投票"
  14. MODULE_AUCTION = "竞拍"
  15. MODULE_REWARD = "打赏"
  16. MODULE_SEMINAR = "会务"
  17. MODULE_MOREAREA = "多地区"
  18. MODULE_BARRAGE = "弹幕"
  19. MODULE_INVITATION = "邀请函"
  20. MODULE_ORDERLY = "订单抽奖"
  21. MODULE_MSGWALL = "消息墙"
  22. MODULE_CALORIE = "卡路里"
  23. )
  24. const (
  25. StatusNotBegin = "未开始"
  26. StatusReady = "准备中"
  27. StatusRunning = "进行中"
  28. StatusEnding = "已结束"
  29. StatusOpen = "开启"
  30. StatusClose = "关闭"
  31. )
  32. const (
  33. INCR_AUCTION = "加价竞拍"
  34. DECR_AUCTION = "减价竞拍"
  35. )
  36. const (
  37. TUGWAR_MODEL_RANDOM = "随机分配模式"
  38. TUGWAR_MODEL_SELECT = "大屏幕二维码模式"
  39. TUGWAR_TEAM_BULE = "blue"
  40. TUGWAR_TEAM_RED = "red"
  41. )
  42. const (
  43. SHAKERB_RULE_RANDOM = "拼手气红包"
  44. SHAKERB_RULE_COMMON = "普通红包"
  45. SHAKERB_RULE_LADDER = "阶梯红包"
  46. )
  47. // 模块去除 BesideRepeat
  48. const MODULE_BESIDE_REPEAT = "去除"
  49. const (
  50. TOKEN = "token"
  51. )
  52. const (
  53. WSSENDURL = "https://api.ouxuanhudong.com:20182/PcClient/Handle/MessageCtl/Receive"
  54. HOST = "https://api.ouxuanhudong.com"
  55. H5Host = "https://h5.ouxuanhudong.com/web"
  56. )
  57. const (
  58. H5Index = "index.html"
  59. H5SignIn = "SignIn.html"
  60. H5ShakeRb = "shakeRb.html"
  61. H5TugOfWar = "tugOfWar.html"
  62. H5UpperWall = "UpperWall.html"
  63. H5Barrage = "barrage.html"
  64. H5Order = "order.html"
  65. H5Reward = "reward.html"
  66. H5BScreen = "bScreen.html"
  67. H5Auction = "auction.html"
  68. H5Vote = "vote.html"
  69. H5Calorie = "calorie.html"
  70. )
  71. const (
  72. TYPE_H5USER = "h5user"
  73. TYPE_CUSTOMER = "customer"
  74. TYPE_ENTRYPEOPLE = "entry_people"
  75. )
  76. var DefaultTime = time.Date(1970, 1, 1, 8, 0, 0, 0, time.Local)
  77. var DefaultOrderNo = 10000000000