chat.go 1.3 KB

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