chat.go 1.5 KB

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