service/api/consts/option.go

66 lines
1.3 KiB
Go

package consts
const (
ImageAuditTaskUpdate_Pass = 0
ImageAuditTaskUpdate_Rollback = 1
ImageAuditTaskUpdate_Success = 2
)
const (
TextAuditTaskUpdate_Pass = 0
TextAuditTaskUpdate_Rollback = 1
TextAuditTaskUpdate_Success = 2
)
const (
VideoModerationTaskUpdate_Pass = 0
VideoModerationTaskUpdate_Rollback = 1
VideoModerationTaskUpdate_Success = 2
)
const (
AccountPunishment_BlockFromCreatingMoment = 0 // 禁止发贴
AccountPunishment_BlockFromCreatingFreeZoneMoment = 1 // 禁止发免费空间贴
AccountPunishment_BlockFromCreatingPaidZoneMoment = 2 // 禁止发付费空间贴
AccountPunishment_BlockFromCreatingZoneMoment = 3 // 禁止发空间贴
)
const (
Recomm_Down = 0
Recomm_Up = 1
Recomm_Init = 2
)
const (
MomentManuallyReview_Pass = 0
MomentManuallyReview_Reject = 1
)
const (
ZoneMomentManuallyReview_Pass = 0
ZoneMomentManuallyReview_Reject = 1
)
const (
MediaTypeImg = 1 // 图片
MediaTypeVideo = 2 // 视频
)
const (
ZoneMomentHead_Head = 1
ZoneMomentHead_UnHead = 0
)
const (
ZoneMomentPriorityInZone_Increment = 2000000000
ZoneMomentPriorityInZone_Decrement = -2000000000
)
const (
AppConfigReflect_Current = 1 // 符合当前版本的version做映射
AppConfigReflect_LessThan = 2 // 小于当前版本的version做映射
)
const (
StreamerAcct_MatchPhraseLen = 3
)