chat.go 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. package define
  2. import "git.ikuban.com/server/pw-protobuf/api/common"
  3. var (
  4. MatchRelationRoom = "room"
  5. MatchRelationMatch = "match"
  6. )
  7. var (
  8. TypeUserNew = "new" // 新客
  9. TypeUserPay = "pay" // 付费
  10. )
  11. var (
  12. VoiceAward = int64(20)
  13. PictureAward = int64(30)
  14. )
  15. var (
  16. ChatMessageSuccess = "success" // 成功
  17. ChatMessageFail = "fail" // 失败
  18. ChatMessageViolation = "violation" // 违规
  19. )
  20. var (
  21. ChatTypeText = "text" // 文本
  22. ChatTypeVoice = "voice" // 音频
  23. ChatTypePicture = "picture" // 图片
  24. ChatTypeScrip = "scrip" // 小纸条
  25. ChatTypeEmoticon = "emoticon" // 表情包
  26. ChatTypeLove = "love" // 爆灯
  27. )
  28. var (
  29. Chat = "chat" // 日常对话
  30. TWQH = "twqh" // 土味情话
  31. ZNL = "znl" // 正能量
  32. GoodMorning = "morning" // 早安
  33. GoodNight = "night" // 晚安
  34. )
  35. var (
  36. Disapprove = "disapprove" // 斗图
  37. Pet = "pet" // 萌宠
  38. DayChat = "dayChat" // 日常聊天
  39. ShowLove = "showLove" // 示爱
  40. Hot = "hot" // 最火
  41. )
  42. var ChatTopicList = []*common.MemeTitle{
  43. {
  44. Name: "日常对话",
  45. Type: Chat,
  46. }, {
  47. Name: "土味情话",
  48. Type: TWQH,
  49. }, {
  50. Name: "正能量",
  51. Type: ZNL,
  52. }, {
  53. Name: "早安",
  54. Type: GoodMorning,
  55. }, {
  56. Name: "晚安",
  57. Type: GoodNight,
  58. },
  59. }
  60. var MemeTitleList = []*common.MemeTitle{
  61. {
  62. Name: "日常聊天",
  63. Type: DayChat,
  64. }, {
  65. Name: "最火",
  66. Type: Hot,
  67. }, {
  68. Name: "萌宠",
  69. Type: Pet,
  70. }, {
  71. Name: "示爱",
  72. Type: ShowLove,
  73. }, {
  74. Name: "斗图",
  75. Type: Disapprove,
  76. },
  77. }