chat.go 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. )
  27. var (
  28. Chat = "chat" // 日常对话
  29. TWQH = "twqh" // 土味情话
  30. ZNL = "znl" // 正能量
  31. GoodMorning = "morning" // 早安
  32. GoodNight = "night" // 晚安
  33. )
  34. var (
  35. Disapprove = "disapprove" // 斗图
  36. Pet = "pet" // 萌宠
  37. DayChat = "dayChat" // 日常聊天
  38. ShowLove = "showLove" // 示爱
  39. Hot = "hot" // 最火
  40. )
  41. var ChatTopicList = []*common.MemeTitle{
  42. {
  43. Name: "日常对话",
  44. Type: Chat,
  45. }, {
  46. Name: "土味情话",
  47. Type: TWQH,
  48. }, {
  49. Name: "正能量",
  50. Type: ZNL,
  51. }, {
  52. Name: "早安",
  53. Type: GoodMorning,
  54. }, {
  55. Name: "晚安",
  56. Type: GoodNight,
  57. },
  58. }
  59. var MemeTitleList = []*common.MemeTitle{
  60. {
  61. Name: "日常聊天",
  62. Type: DayChat,
  63. }, {
  64. Name: "最火",
  65. Type: Hot,
  66. }, {
  67. Name: "萌宠",
  68. Type: Pet,
  69. }, {
  70. Name: "示爱",
  71. Type: ShowLove,
  72. }, {
  73. Name: "斗图",
  74. Type: Disapprove,
  75. },
  76. }