chat.go 1.6 KB

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