credit_state.go 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. package blocked
  2. // const credit state
  3. const (
  4. // SearchDefaultStatus delault status
  5. SearchDefaultStatus = 0
  6. // JuryDay jury day
  7. JuryDay = 30
  8. // AccMaxPageSize max ps.
  9. AccMaxPageSize = 50
  10. // NotNeedSendMsg no send msg.
  11. NotNeedSendMsg = int8(0)
  12. // NeedSendMsg send msg.
  13. NeedSendMsg = int8(1)
  14. // UnBlockedForever no on forever
  15. UnBlockedForever = int8(0)
  16. // OnBlockedForever on forever
  17. OnBlockedForever = int8(1)
  18. // SearchDefaultNum defalut num
  19. SearchDefaultNum = -100
  20. // SearchDefaultString defalut string
  21. SearchDefaultString = "-"
  22. // reasonType
  23. ReasonBrushScreen = int8(1)
  24. ReasonGrabFloor = int8(2)
  25. ReasonGamblingFraud = int8(4)
  26. ReasonProhibited = int8(5)
  27. ReasonGarbageAds = int8(6)
  28. ReasonPersonalAttacks = int8(7)
  29. ReasonViolatePrivacy = int8(8)
  30. ReasonLeadBattle = int8(9)
  31. ReasonSpoiler = int8(10)
  32. ReasonAddUnrelatedTags = int8(11)
  33. ReasonDelOtherTags = int8(12)
  34. ReasonPornographic = int8(13)
  35. ReasonVulgar = int8(14)
  36. ReasonBloodyViolence = int8(15)
  37. ReasonAnimusVideoUp = int8(16)
  38. ReasonIllegalWebsite = int8(17)
  39. ReasonSpreadErrinfo = int8(18)
  40. ReasonAbettingEncouragement = int8(19)
  41. ReasonAnimusBrushScreen = int8(20)
  42. ReasonAccountViolation = int8(21)
  43. ReasonMaliciousPlagiarism = int8(22)
  44. ReasonPosingAsHomemade = int8(23)
  45. ReasonPostTeenBadContent = int8(24)
  46. ReasonDestroyCyberSecurity = int8(25)
  47. ReasonPostingMisleadingInfo = int8(26)
  48. ReasonCounterfeitOfficialAuth = int8(27)
  49. ReasonPublishInappropriateContent = int8(28)
  50. ReasonViolationOperatingRules = int8(29)
  51. ReasonIllegalCreateTopic = int8(30)
  52. ReasonIllegalDrawLottery = int8(31)
  53. ReasonIllegalFakeMan = int8(32)
  54. // AddJuryRemark add jury word
  55. AddJuryRemark = "后台添加风纪委员"
  56. DefaultTime = "1980-01-01 00:00:00"
  57. TableBlockedCase = "blocked_case"
  58. TableBlockedInfo = "blocked_info"
  59. TableBlockedJury = "blocked_jury"
  60. TableBlockedOpinion = "blocked_opinion"
  61. TableBlockedPublish = "blocked_publish"
  62. TableBlockedKpiPoint = "blocked_kpi_point"
  63. BusinessBlockedCase = "block_case"
  64. BusinessBlockedInfo = "block_info"
  65. BusinessBlockedJury = "block_jury"
  66. BusinessBlockedOpinion = "block_opinion"
  67. BusinessBlockedPublish = "block_publish"
  68. BusinessBlockedKpiPoint = "block_kpi_point"
  69. )
  70. var _reasonType = map[int8]string{
  71. ReasonBrushScreen: "刷屏",
  72. ReasonGrabFloor: "抢楼",
  73. ReasonGamblingFraud: "发布赌博诈骗信息",
  74. ReasonProhibited: "发布违禁相关信息",
  75. ReasonGarbageAds: "发布垃圾广告信息",
  76. ReasonPersonalAttacks: "发布人身攻击言论",
  77. ReasonViolatePrivacy: "发布侵犯他人隐私信息",
  78. ReasonLeadBattle: "发布引战言论",
  79. ReasonSpoiler: "发布剧透信息",
  80. ReasonAddUnrelatedTags: "恶意添加无关标签",
  81. ReasonDelOtherTags: "恶意删除他人标签",
  82. ReasonPornographic: "发布色情信息",
  83. ReasonVulgar: "发布低俗信息",
  84. ReasonBloodyViolence: "发布暴力血腥信息",
  85. ReasonAnimusVideoUp: "涉及恶意投稿行为",
  86. ReasonIllegalWebsite: "发布非法网站信息",
  87. ReasonSpreadErrinfo: "发布传播不实信息",
  88. ReasonAbettingEncouragement: "发布怂恿教唆信息",
  89. ReasonAnimusBrushScreen: "恶意刷屏",
  90. ReasonAccountViolation: "账号违规",
  91. ReasonMaliciousPlagiarism: "恶意抄袭",
  92. ReasonPosingAsHomemade: "冒充自制原创",
  93. ReasonPostTeenBadContent: "发布青少年不良内容",
  94. ReasonDestroyCyberSecurity: "破坏网络安全",
  95. ReasonPostingMisleadingInfo: "发布虚假误导信息",
  96. ReasonCounterfeitOfficialAuth: "仿冒官方认证账号",
  97. ReasonPublishInappropriateContent: "发布不适宜内容",
  98. ReasonViolationOperatingRules: "违反运营规则",
  99. ReasonIllegalCreateTopic: "恶意创建话题",
  100. ReasonIllegalDrawLottery: "发布违规抽奖",
  101. ReasonIllegalFakeMan: "恶意冒充他人",
  102. }
  103. // ReasonTypeDesc get reasonType desc
  104. func ReasonTypeDesc(reasonType int8) string {
  105. return _reasonType[reasonType]
  106. }