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-07-17 12:01:56 +08:00
|
|
|
ImageAuditTaskUpdate_Reject = 3
|
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-07-17 12:01:56 +08:00
|
|
|
TextAuditTaskUpdate_Reject = 3
|
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-07-17 12:01:56 +08:00
|
|
|
VideoModerationTaskUpdate_Reject = 3
|
2024-04-26 10:46:37 +08:00
|
|
|
)
|
|
|
|
|
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-06-21 19:51:55 +08:00
|
|
|
AccountPunishment_BlockFromBeingSearched = 4 // 禁止被搜索到
|
|
|
|
AccountPunishment_BlockFromBeingDiscovered = 5 // 禁止在推荐被发现
|
|
|
|
AccountPunishment_BlockFromBeingSeenAtMoment = 6 // 禁止在广场被发现
|
2024-07-10 05:47:56 +08:00
|
|
|
AccountPunishment_BlockFromPaying = 7 // 禁止付款
|
2024-03-12 12:06:45 +08:00
|
|
|
)
|
2024-03-22 13:54:11 +08:00
|
|
|
|
2024-11-04 18:26:51 +08:00
|
|
|
var AccountPunishmentMap = map[int64]string{
|
|
|
|
AccountPunishment_BlockFromCreatingMoment: "发贴",
|
|
|
|
AccountPunishment_BlockFromCreatingFreeZoneMoment: "发免费空间贴",
|
|
|
|
AccountPunishment_BlockFromCreatingPaidZoneMoment: "发付费空间贴",
|
|
|
|
AccountPunishment_BlockFromCreatingZoneMoment: "发空间贴",
|
|
|
|
AccountPunishment_BlockFromBeingSearched: "从搜索中被发现",
|
|
|
|
AccountPunishment_BlockFromBeingDiscovered: "在推荐页面被发现",
|
|
|
|
AccountPunishment_BlockFromBeingSeenAtMoment: "在广场页面被发现",
|
|
|
|
AccountPunishment_BlockFromPaying: "付款",
|
|
|
|
}
|
|
|
|
|
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
|
|
|
)
|
2024-03-29 00:16: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
|
|
|
|
2024-07-17 12:01:56 +08:00
|
|
|
const (
|
|
|
|
ImageAuditManuallyReview_Pass = 0
|
|
|
|
ImageAuditManuallyReview_Reject = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
TextAuditManuallyReview_Pass = 0
|
|
|
|
TextAuditManuallyReview_Reject = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
VideoModerationManuallyReview_Pass = 0
|
|
|
|
VideoModerationManuallyReview_Reject = 1
|
|
|
|
)
|
|
|
|
|
2024-04-04 20:48:42 +08:00
|
|
|
const (
|
|
|
|
MediaTypeImg = 1 // 图片
|
|
|
|
MediaTypeVideo = 2 // 视频
|
|
|
|
)
|
2024-04-11 00:25:06 +08:00
|
|
|
|
2024-11-12 16:34:26 +08:00
|
|
|
var MTypeDescMap = map[int64]string{
|
|
|
|
MediaTypeImg: "图片",
|
|
|
|
MediaTypeVideo: "视频",
|
|
|
|
}
|
|
|
|
|
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做映射
|
|
|
|
)
|
2024-05-14 22:31:33 +08:00
|
|
|
const (
|
|
|
|
StreamerAcct_MatchPhraseLen = 3
|
|
|
|
)
|
2024-06-19 13:58:47 +08:00
|
|
|
|
|
|
|
const (
|
|
|
|
BankCard = 10 //银行卡
|
|
|
|
Alipay = 20 //支付宝
|
|
|
|
Weixin = 30 //微信
|
|
|
|
MerchantWeixin = 40 //商户方微信
|
|
|
|
CPAccount = 51 //中金支付电子账户
|
|
|
|
)
|
2024-08-08 16:04:50 +08:00
|
|
|
|
|
|
|
const (
|
|
|
|
StreamerAuthApproval_OneOffVersion = 0
|
|
|
|
StreamerAuthApproval_SeparateVersion = 1
|
|
|
|
)
|
2024-10-14 13:39:19 +08:00
|
|
|
|
2024-08-20 18:47:56 +08:00
|
|
|
const ZoneAdmissionPrice_NoZone = int64(-999999)
|
2024-11-11 15:17:31 +08:00
|
|
|
|
2024-10-14 13:39:19 +08:00
|
|
|
const (
|
|
|
|
Notification_ObjType_AllStreamer = 0
|
|
|
|
Notification_ObjType_AllUser = 1
|
|
|
|
Notification_ObjType_AllStreamerAndUser = 2
|
|
|
|
Notification_ObjType_Customized = 3
|
|
|
|
)
|
2024-10-21 14:36:01 +08:00
|
|
|
|
|
|
|
const (
|
|
|
|
Notification_PushTime_Instant = 0 // 即时推送
|
|
|
|
)
|
2024-11-25 15:24:18 +08:00
|
|
|
|
2024-11-25 15:15:29 +08:00
|
|
|
const (
|
|
|
|
GuildRegistrationApprove_Pass = 0
|
|
|
|
GuildRegistrationApprove_Reject = 1
|
|
|
|
)
|
2024-12-03 14:53:14 +08:00
|
|
|
|
2024-12-03 14:52:07 +08:00
|
|
|
const (
|
|
|
|
FrontendRouteAction_Inward = "inward"
|
|
|
|
FrontendRouteAction_Outward = "outward"
|
|
|
|
)
|
2024-12-09 14:48:40 +08:00
|
|
|
|
2024-12-06 17:41:45 +08:00
|
|
|
const ActivityHot_QueryLimit = 20
|