moral.go 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. package model
  2. import "fmt"
  3. const (
  4. // ReportReasonOther 其他
  5. ReportReasonOther = int32(0)
  6. // ReportReasonAd 广告
  7. ReportReasonAd = int32(1)
  8. // ReportReasonPorn 色情
  9. ReportReasonPorn = int32(2)
  10. // ReportReasonMeaningless 刷屏
  11. ReportReasonMeaningless = int32(3)
  12. // ReportReasonProvoke 引站
  13. ReportReasonProvoke = int32(4)
  14. // ReportReasonSpoiler 剧透
  15. ReportReasonSpoiler = int32(5)
  16. // ReportReasonPolitic 政治
  17. ReportReasonPolitic = int32(6)
  18. // ReportReasonAttack 人身攻击
  19. ReportReasonAttack = int32(7)
  20. // ReportReasonUnrelated 视频不相关
  21. ReportReasonUnrelated = int32(8)
  22. // ReportReasonProhibited 违禁
  23. ReportReasonProhibited = int32(9)
  24. // ReportReasonVulgar 低俗
  25. ReportReasonVulgar = int32(10)
  26. // ReportReasonIllegalWebsite 非法网站
  27. ReportReasonIllegalWebsite = int32(11)
  28. // ReportReasonGamblingFraud 赌博诈骗
  29. ReportReasonGamblingFraud = int32(12)
  30. // ReportReasonRumor 传播不实信息
  31. ReportReasonRumor = int32(13)
  32. // ReportReasonAbetting 怂恿教唆信息
  33. ReportReasonAbetting = int32(14)
  34. // ReportReasonPrivacyInvasion 侵犯隐私
  35. ReportReasonPrivacyInvasion = int32(15)
  36. // ReportReasonUnlimitedSign 抢楼
  37. ReportReasonUnlimitedSign = int32(16)
  38. // ForbidReasonSpoiler 发布剧透信息
  39. ForbidReasonSpoiler = int32(10)
  40. // ForbidReasonAd 发布垃圾广告信息
  41. ForbidReasonAd = int32(6)
  42. // ForbidReasonUnlimitedSign 抢楼
  43. ForbidReasonUnlimitedSign = int32(2)
  44. // ForbidReasonMeaningless 刷屏
  45. ForbidReasonMeaningless = int32(1)
  46. // ForbidReasonProvoke 发布引战言论
  47. ForbidReasonProvoke = int32(9)
  48. // ForbidReasonVulgar 发布低俗信息
  49. ForbidReasonVulgar = int32(14)
  50. // ForbidReasonGamblingFraud 发布赌博诈骗信息
  51. ForbidReasonGamblingFraud = int32(4)
  52. // ForbidReasonPorn 发布色情信息
  53. ForbidReasonPorn = int32(13)
  54. // ForbidReasonRumor 发布传播不实信息
  55. ForbidReasonRumor = int32(18)
  56. // ForbidReasonIllegalWebsite 发布非法网站信息
  57. ForbidReasonIllegalWebsite = int32(17)
  58. // ForbidReasonAbetting 发布怂恿教唆信息
  59. ForbidReasonAbetting = int32(19)
  60. // ForbidReasonProhibited 发布违禁信息
  61. ForbidReasonProhibited = int32(5)
  62. // ForbidReasonPrivacyInvasion 涉及侵犯他人隐私
  63. ForbidReasonPrivacyInvasion = int32(8)
  64. // ForbidReasonAttack 发布人身攻击言论
  65. ForbidReasonAttack = int32(7)
  66. // ForbidReasonInaptitude 发布不适宜内容
  67. ForbidReasonInaptitude = int32(28)
  68. )
  69. var (
  70. // NotifyComRules 社区规则
  71. NotifyComRules = fmt.Sprintf(`评论区是公众场所,而非私人场所,具体规范烦请参阅#{《社区规则》}{"%s"},良好的社区氛围需要大家一起维护!`, "http://www.bilibili.com/blackboard/blackroom.html")
  72. // NotifyComRulesReport 举报
  73. NotifyComRulesReport = "感谢您对bilibili社区秩序的维护,哔哩哔哩 (゜-゜)つロ 干杯~"
  74. // NotifyComUnrelated NotifyComUnrelated
  75. NotifyComUnrelated = "bilibili倡导发送与视频相关的评论,希望大家尊重作品,尊重UP主。良好的社区氛围需要大家一起维护!"
  76. // NotifyComProvoke NotifyComProvoke
  77. NotifyComProvoke = "bilibili倡导平等友善的交流。良好的社区氛围需要大家一起维护!"
  78. // NofityComProhibited NofityComProhibited
  79. NofityComProhibited = fmt.Sprintf(`请自觉遵守国家相关法律法规及#{《社区规则》}{"%s"},bilibili良好的社区氛围需要大家一起维护!`, "http://www.bilibili.com/blackboard/blackroom.html")
  80. // ReportReason 举报理由类型
  81. ReportReason = map[int32]string{
  82. ReportReasonAd: "内容涉及垃圾广告",
  83. ReportReasonPorn: "内容涉及色情",
  84. ReportReasonMeaningless: "刷屏",
  85. ReportReasonProvoke: "内容涉及引战",
  86. ReportReasonSpoiler: "内容涉及视频剧透",
  87. ReportReasonPolitic: "内容涉及政治相关",
  88. ReportReasonAttack: "内容涉及人身攻击",
  89. ReportReasonUnrelated: "视频不相关",
  90. ReportReasonProhibited: "内容涉及违禁相关",
  91. ReportReasonVulgar: "内容涉及低俗信息",
  92. ReportReasonIllegalWebsite: "内容涉及非法网站信息",
  93. ReportReasonGamblingFraud: "内容涉及赌博诈骗信息",
  94. ReportReasonRumor: "内容涉及传播不实信息",
  95. ReportReasonAbetting: "内容不适宜",
  96. ReportReasonPrivacyInvasion: "内容涉及侵犯他人隐私",
  97. ReportReasonUnlimitedSign: "抢楼",
  98. }
  99. // ForbidReason 封禁理由类型
  100. ForbidReason = map[int32]string{
  101. ForbidReasonSpoiler: "发布剧透信息",
  102. ForbidReasonAd: "发布垃圾广告信息",
  103. ForbidReasonUnlimitedSign: "抢楼",
  104. ForbidReasonMeaningless: "刷屏",
  105. ForbidReasonProvoke: "发布引战言论",
  106. ForbidReasonVulgar: "发布低俗信息",
  107. ForbidReasonGamblingFraud: "发布赌博诈骗信息",
  108. ForbidReasonPorn: "发布色情信息",
  109. ForbidReasonRumor: "发布传播不实信息",
  110. ForbidReasonIllegalWebsite: "发布非法网站信息",
  111. ForbidReasonAbetting: "发布怂恿教唆信息",
  112. ForbidReasonProhibited: "发布违禁信息",
  113. ForbidReasonPrivacyInvasion: "涉及侵犯他人隐私",
  114. ForbidReasonAttack: "发布人身攻击言论",
  115. ForbidReasonInaptitude: "发布不适宜内容",
  116. }
  117. )