service/api/consts/option.go

95 lines
2.1 KiB
Go

package consts
const (
ImageAuditTaskUpdate_Pass = 0
ImageAuditTaskUpdate_Rollback = 1
ImageAuditTaskUpdate_Success = 2
ImageAuditTaskUpdate_Reject = 3
)
const (
TextAuditTaskUpdate_Pass = 0
TextAuditTaskUpdate_Rollback = 1
TextAuditTaskUpdate_Success = 2
TextAuditTaskUpdate_Reject = 3
)
const (
VideoModerationTaskUpdate_Pass = 0
VideoModerationTaskUpdate_Rollback = 1
VideoModerationTaskUpdate_Success = 2
VideoModerationTaskUpdate_Reject = 3
)
const (
AccountPunishment_BlockFromCreatingMoment = 0 // 禁止发贴
AccountPunishment_BlockFromCreatingFreeZoneMoment = 1 // 禁止发免费空间贴
AccountPunishment_BlockFromCreatingPaidZoneMoment = 2 // 禁止发付费空间贴
AccountPunishment_BlockFromCreatingZoneMoment = 3 // 禁止发空间贴
AccountPunishment_BlockFromBeingSearched = 4 // 禁止被搜索到
AccountPunishment_BlockFromBeingDiscovered = 5 // 禁止在推荐被发现
AccountPunishment_BlockFromBeingSeenAtMoment = 6 // 禁止在广场被发现
)
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 (
ImageAuditManuallyReview_Pass = 0
ImageAuditManuallyReview_Reject = 1
)
const (
TextAuditManuallyReview_Pass = 0
TextAuditManuallyReview_Reject = 1
)
const (
VideoModerationManuallyReview_Pass = 0
VideoModerationManuallyReview_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
)
const (
BankCard = 10 //银行卡
Alipay = 20 //支付宝
Weixin = 30 //微信
MerchantWeixin = 40 //商户方微信
CPAccount = 51 //中金支付电子账户
)