service/api/consts/option.go

63 lines
1.3 KiB
Go
Raw Normal View History

2024-01-20 06:33:10 +08:00
package consts
const (
ImageAuditTaskUpdate_Pass = 0
ImageAuditTaskUpdate_Rollback = 1
2024-04-03 04:56:21 +08:00
ImageAuditTaskUpdate_Success = 2
2024-01-20 06:33:10 +08:00
)
2024-01-20 18:48:38 +08:00
const (
TextAuditTaskUpdate_Pass = 0
TextAuditTaskUpdate_Rollback = 1
2024-04-03 04:56:21 +08:00
TextAuditTaskUpdate_Success = 2
2024-01-20 18:48:38 +08:00
)
2024-03-12 12:06:45 +08:00
2024-04-26 10:46:37 +08:00
const (
VideoModerationTaskUpdate_Pass = 0
VideoModerationTaskUpdate_Rollback = 1
VideoModerationTaskUpdate_Success = 2
)
2024-03-12 12:06:45 +08:00
const (
2024-04-03 00:25:14 +08:00
AccountPunishment_BlockFromCreatingMoment = 0 // 禁止发贴
2024-04-03 16:45:30 +08:00
AccountPunishment_BlockFromCreatingFreeZoneMoment = 1 // 禁止发免费空间贴
AccountPunishment_BlockFromCreatingPaidZoneMoment = 2 // 禁止发付费空间贴
2024-04-11 18:33:38 +08:00
AccountPunishment_BlockFromCreatingZoneMoment = 3 // 禁止发空间贴
2024-03-12 12:06:45 +08:00
)
2024-03-08 00:42:42 +08:00
const (
Recomm_Down = 0
Recomm_Up = 1
2024-03-08 15:15:09 +08:00
Recomm_Init = 2
2024-03-08 00:42:42 +08:00
)
const (
MomentManuallyReview_Pass = 0
MomentManuallyReview_Reject = 1
)
2024-04-02 22:47:41 +08:00
const (
ZoneMomentManuallyReview_Pass = 0
ZoneMomentManuallyReview_Reject = 1
)
2024-04-04 20:48:42 +08:00
const (
MediaTypeImg = 1 // 图片
MediaTypeVideo = 2 // 视频
)
2024-04-11 00:25:06 +08:00
const (
2024-04-11 16:15:46 +08:00
ZoneMomentHead_Head = 1
ZoneMomentHead_UnHead = 0
2024-04-11 00:25:06 +08:00
)
const (
ZoneMomentPriorityInZone_Increment = 2000000000
ZoneMomentPriorityInZone_Decrement = -2000000000
)
2024-05-14 17:22:40 +08:00
const (
AppConfigReflect_Current = 1 // 符合当前版本的version做映射
AppConfigReflect_LessThan = 2 // 小于当前版本的version做映射
)