chat.go 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. VoiceAward = int64(20)
  9. PictureAward = int64(40)
  10. )
  11. var (
  12. ChatMessageSuccess = "success" // 成功
  13. ChatMessageFail = "fail" // 失败
  14. ChatMessageViolation = "violation" // 违规
  15. )
  16. var (
  17. ChatTypeText = "text" // 文本
  18. ChatTypeVoice = "voice" // 音频
  19. ChatTypePicture = "picture" // 图片
  20. ChatTypeScrip = "scrip" // 小纸条
  21. )
  22. var (
  23. Chat = "chat" // 日常对话
  24. TWQH = "twqh" // 土味情话
  25. ZNL = "znl" // 正能量
  26. GoodMorning = "morning" // 早安
  27. GoodNight = "night" // 晚安
  28. )
  29. var (
  30. Disapprove = "disapprove" // 斗图
  31. Pet = "pet" // 萌宠
  32. DayChat = "dayChat" // 日常聊天
  33. ShowLove = "showLove" // 示爱
  34. Hot = "hot" // 最火
  35. )
  36. var ChatTopicList = []*common.MemeTitle{
  37. {
  38. Name: "日常对话",
  39. Type: Chat,
  40. }, {
  41. Name: "土味情话",
  42. Type: TWQH,
  43. }, {
  44. Name: "正能量",
  45. Type: ZNL,
  46. }, {
  47. Name: "早安",
  48. Type: GoodMorning,
  49. }, {
  50. Name: "晚安",
  51. Type: GoodNight,
  52. },
  53. }
  54. var MemeTitleList = []*common.MemeTitle{
  55. {
  56. Name: "日常聊天",
  57. Type: DayChat,
  58. }, {
  59. Name: "最火",
  60. Type: Hot,
  61. }, {
  62. Name: "萌宠",
  63. Type: Pet,
  64. }, {
  65. Name: "示爱",
  66. Type: ShowLove,
  67. }, {
  68. Name: "斗图",
  69. Type: Disapprove,
  70. },
  71. }