324 lines
9.5 KiB
Go
324 lines
9.5 KiB
Go
package consts
|
||
|
||
var RealNameAuthenticationStatusDescMap = map[int64]string{
|
||
RealNameAuthentication_Approved: "审批通过",
|
||
RealNameAuthentication_Rejected: "审批拒绝",
|
||
RealNameAuthentication_Created: "已创建",
|
||
RealNameAuthentication_Approving: "跟进中",
|
||
}
|
||
|
||
// 女神认证审核表的approve_status审批状态
|
||
const (
|
||
Approved = 0 //审批通过
|
||
Rejected = -1 //审批拒绝
|
||
Created = 1 //已创建
|
||
Approving = 2 //跟进中
|
||
)
|
||
|
||
// user_wx_add_check表审核状态
|
||
const (
|
||
UserWxAddCheck_Checking = 0 //审核中
|
||
UserWxAddCheck_Added = 1 //已添加
|
||
UserWxAddCheck_Rejected = 2 //已拒绝
|
||
)
|
||
|
||
// 实名认证表的approve_status审批状态
|
||
const (
|
||
RealNameAuthentication_Approved = 0 //审批通过
|
||
RealNameAuthentication_Rejected = -1 //审批拒绝
|
||
RealNameAuthentication_Created = 1 //已创建
|
||
RealNameAuthentication_Approving = 2 //跟进中
|
||
)
|
||
|
||
// 联系客服表的已读状态
|
||
const (
|
||
ContactCustomerService_NotRead = 0 //未读
|
||
ContactCustomerService_Read = 1 //已读
|
||
)
|
||
|
||
// 联系客服表是否自动回复
|
||
const (
|
||
ContactCustomerService_NotAutoResponsed = 0 //未读
|
||
ContactCustomerService_AutoResponsed = 1 //未读
|
||
)
|
||
|
||
// 图像审核表状态
|
||
const (
|
||
ImageAudit_Created = 0 //已创建
|
||
ImageAudit_Auditing = 1 //审核中
|
||
ImageAudit_Passed = 2 //已通过
|
||
ImageAudit_Rejected = 3 //已拒绝
|
||
ImageAudit_Rollbacked = 4 //已回退
|
||
ImageAudit_ManuallyPassed = 5 //已人工通过
|
||
ImageAudit_ManuallyRejected = 6 //已人工拒绝
|
||
ImageAudit_ManuallyRollbacked = 7 //已人工回退
|
||
ImageAudit_Expired = 8 //已失效
|
||
ImageAudit_Failed = 9 //已回退失败
|
||
ImageAudit_ServiceFailed = 10 //批次任务失败
|
||
)
|
||
|
||
// 文字审核表状态
|
||
const (
|
||
TextAudit_Created = 0 //已创建
|
||
TextAudit_Auditing = 1 //审核中
|
||
TextAudit_Passed = 2 //已通过
|
||
TextAudit_Rejected = 3 //已拒绝
|
||
TextAudit_Rollbacked = 4 //已回退
|
||
TextAudit_ManuallyPassed = 5 //已人工通过
|
||
TextAudit_ManuallyRejected = 6 //已人工拒绝
|
||
TextAudit_ManuallyRollbacked = 7 //已人工回退
|
||
TextAudit_Expired = 8 //已失效
|
||
TextAudit_Failed = 9 //回退失败
|
||
TextAudit_ServiceFailed = 10 //批次任务失败
|
||
)
|
||
|
||
// 视频审核表状态
|
||
const (
|
||
VideoModeration_Created = 0 //已创建
|
||
VideoModeration_Auditing = 1 //审核中
|
||
VideoModeration_Passed = 2 //已通过
|
||
VideoModeration_Rejected = 3 //已拒绝
|
||
VideoModeration_Rollbacked = 4 //已回退
|
||
VideoModeration_ManuallyPassed = 5 //已人工通过
|
||
VideoModeration_ManuallyRejected = 6 //已人工拒绝
|
||
VideoModeration_ManuallyRollbacked = 7 //已人工回退
|
||
VideoModeration_Expired = 8 //已失效
|
||
VideoModeration_Failed = 9 //已回退失败
|
||
VideoModeration_ServiceFailed = 10 //批次任务失败
|
||
)
|
||
|
||
// 动态审核表状态
|
||
const (
|
||
MomentAudit_Created = 0 //已创建
|
||
MomentAudit_Auditing = 1 //审核中
|
||
MomentAudit_Passed = 2 //已通过
|
||
MomentAudit_Rejected = 3 //已拒绝
|
||
MomentAudit_Rollbacked = 4 //已回退
|
||
MomentAudit_ManuallyPassed = 5 //已人工通过
|
||
MomentAudit_ManuallyRejected = 6 //已人工拒绝
|
||
MomentAudit_ManuallyRollbacked = 7 //已人工回退
|
||
MomentAudit_Expired = 8 //已失效
|
||
MomentAudit_Failed = 9 //已回退失败
|
||
MomentAudit_ServiceFailed = 10 //批次任务失败
|
||
)
|
||
|
||
// 意见反馈表的status审批状态
|
||
const (
|
||
Feedback_Created = 0 //待处理
|
||
Feedback_Handling = 1 //跟进中
|
||
Feedback_Handled = 2 //已处理
|
||
Feedback_Invalid = 3 //无效
|
||
Feedback_RelatedToIteration = 4 //迭代相关
|
||
)
|
||
|
||
// 动态表status状态
|
||
const (
|
||
Moment_Private = 0 //仅自己可见
|
||
Moment_OpenToCircles = 1 //仅朋友圈可见
|
||
Moment_Public = 2 //公开
|
||
Moment_Auditing = 3 //机审中
|
||
Moment_ManuallyReviewing = 4 //人工复审中
|
||
Moment_AuditRejected = 5 //机审拒绝
|
||
Moment_ManuallyReviewRejected = 6 //人工复审拒绝
|
||
)
|
||
|
||
// 是否被关注
|
||
const (
|
||
IsFollowed_No = 0 //否
|
||
IsFollowed_Yes = 1 //是
|
||
)
|
||
|
||
// 是否被点赞
|
||
const (
|
||
IsThumbedUp_No = 0 //否
|
||
IsThumbedUp_Yes = 1 //是
|
||
)
|
||
|
||
// 是否已经对齐
|
||
// 有对齐需求的任务需要单独在外封装一层审核任务,如动态审核表MomentAuditTask,单个查询不查询这些已经对齐的任务
|
||
const (
|
||
ImageAuditIsAligned_No = 0 //否
|
||
ImageAuditIsAligned_Yes = 1 //是
|
||
TextAuditIsAligned_No = 0 //否
|
||
TextAuditIsAligned_Yes = 1 //是
|
||
VideoModerationIsAligned_No = 0 //否
|
||
VideoModerationIsAligned_Yes = 1 //是
|
||
)
|
||
|
||
// 账户状态
|
||
const (
|
||
AccountStatus_Normal = 0 //正常
|
||
AccountStatus_Cancelling = 1 //账户注销中
|
||
AccountStatus_Cancelled = 2 //账户已注销
|
||
)
|
||
|
||
// 账户注销表状态
|
||
const (
|
||
AccountCancellationStatus_Cancelling = 0 //注销中
|
||
AccountCancellationStatus_Cancelled = 1 //已注销
|
||
AccountCancellationStatus_Aborted = 2 //已中止
|
||
AccountCancellationStatus_CancellationExecuting = 3 //注销执行中
|
||
AccountCancellationVOStatus_Normal = 2 //账户状态正常(已中止)
|
||
)
|
||
|
||
// 是否解锁铁粉
|
||
const (
|
||
IsIronfanshipUnlocked_No = 0 //否
|
||
IsIronfanshipUnlocked_Yes = 1 //是
|
||
)
|
||
|
||
// 是否解锁超粉
|
||
const (
|
||
IsSuperfanshipUnlocked_No = 0 //否
|
||
IsSuperfanshipUnlocked_Yes = 1 //是
|
||
)
|
||
|
||
// 铁粉是否可以免费看
|
||
const (
|
||
IsIronfanVisible_No = 0 //否
|
||
IsIronfanVisible_Yes = 1 //是
|
||
)
|
||
|
||
// 是否解锁动态
|
||
const (
|
||
IsZoneMomentUnlocked_No = 0 //否
|
||
IsZoneMomentUnlocked_Yes = 1 //是
|
||
)
|
||
|
||
// 账号处罚状态
|
||
const (
|
||
AccountPunishment_Punishing = 0 //处罚中
|
||
AccountPunishment_Finished = 1 //正常结束
|
||
AccountPunishment_Interrupted = 2 //提前中止
|
||
)
|
||
|
||
// 动态人工复审
|
||
const (
|
||
MomentManuallyReview_Waiting = 0 //等待复审
|
||
MomentManuallyReview_Passed = 1 //已复审通过
|
||
MomentManuallyReview_Rejected = 2 //已复审拒绝
|
||
)
|
||
|
||
// 私密动态表status
|
||
const (
|
||
ZoneMoment_Auditing = 0 //机审中
|
||
ZoneMoment_ManuallyReviewing = 1 //人工复审中
|
||
ZoneMoment_Public = 2 //可见
|
||
ZoneMoment_Private = 3 //自见
|
||
)
|
||
|
||
// 私密动态表c_type
|
||
const (
|
||
ZoneMomentCType_Free = 0 //免费
|
||
ZoneMomentCType_Paid = 1 //付费
|
||
)
|
||
|
||
// 私密动态人工复审
|
||
const (
|
||
ZoneMomentManuallyReview_Waiting = 0 //等待复审
|
||
ZoneMomentManuallyReview_Passed = 1 //已复审通过
|
||
ZoneMomentManuallyReview_Rejected = 2 //已复审拒绝
|
||
)
|
||
|
||
// 七日内空间是否活跃
|
||
const (
|
||
ZoneIsActiveWithinAWeek_No = 0 //否
|
||
ZoneIsActiveWithinAWeek_Yes = 1 //是
|
||
)
|
||
|
||
// 空间是否有访客未读消息
|
||
const (
|
||
IsUnreadZoneMomentExist_No = 0 //否
|
||
IsUnreadZoneMomentExist_Yes = 1 //是
|
||
)
|
||
|
||
// 是否置顶
|
||
const (
|
||
IsHeaded_No = 0 //否
|
||
IsHeaded_Yes = 1 //是
|
||
)
|
||
|
||
// 是否隐藏
|
||
const (
|
||
IsHided_No = 0 //否
|
||
IsHided_Yes = 1 //是
|
||
)
|
||
|
||
// 从未更新的时间跨度
|
||
const (
|
||
DaysElapsedSinceTheLastZonesUpdate_Never = -1
|
||
)
|
||
|
||
const (
|
||
IsCreatingPaidText_No = 0 //否
|
||
IsCreatingPaidText_Yes = 1 //是
|
||
)
|
||
|
||
const (
|
||
HygAgreeState_Fail = "-1" // 签约失败
|
||
HygAgreeState_Waiting = "1" // 待生成电子签
|
||
HygAgreeState_Success = "2" // 签约成功
|
||
)
|
||
|
||
const (
|
||
HygSingleDistribute_Success = 60 // 打款成功
|
||
HygSingleDistribute_Fail = 70 // 打款失败
|
||
HygSingleDistribute_Refunded = 75 // 已退款
|
||
HygSingleDistribute_TicketRefunding = 80 // 退票中
|
||
HygSingleDistribute_TicketRefunded = 90 // 已退票
|
||
)
|
||
|
||
const (
|
||
HygSingleDistributeFinalState_Success = 0 // 打款成功
|
||
HygSingleDistributeFinalState_OrderStatusSwitchFail = 1 // 打款成功,订单状态翻转失败
|
||
HygSingleDistributeFinalState_Reversed = 2 // 打款失败,已冲正
|
||
HygSingleDistributeFinalState_ReversalFailed = 3 // 打款失败,冲正失败
|
||
HygSingleDistributeFinalState_Unhandleable = 4 // 无法处理的下发打款状态
|
||
)
|
||
|
||
// 主播入驻人工审核
|
||
const (
|
||
StreamerAuthApprovalBasicApprove_Waiting = 0 //等待复审
|
||
StreamerAuthApprovalBasicApprove_Passed = 1 //已复审通过
|
||
StreamerAuthApprovalBasicApprove_Rejected = 2 //已复审拒绝
|
||
StreamerAuthApprovalBasicApprove_Approving = 3 //跟进中
|
||
StreamerAuthApprovalBasicApprove_NotFound = 4 //未提交
|
||
)
|
||
|
||
// 主播入驻完善表status
|
||
const (
|
||
StreamerAuthApprovalDetails_Auditing = 0 //机审中
|
||
StreamerAuthApprovalDetails_Approving = 1 //人工复审中
|
||
StreamerAuthApprovalDetails_Passed = 2 //通过
|
||
StreamerAuthApprovalDetails_Rejected = 3 //拒绝
|
||
)
|
||
|
||
// 主播入驻完善人工复审
|
||
const (
|
||
StreamerAuthApprovalDetailsApprove_Waiting = 0 //等待复审
|
||
StreamerAuthApprovalDetailsApprove_Passed = 1 //已复审通过
|
||
StreamerAuthApprovalDetailsApprove_Rejected = 2 //已复审拒绝
|
||
StreamerAuthApprovalDetailsApprove_NotFound = 4 //未提交
|
||
)
|
||
|
||
// 图片人工复审
|
||
const (
|
||
ImageManuallyReview_Waiting = 0 //等待复审
|
||
ImageManuallyReview_Passed = 1 //已复审通过
|
||
ImageManuallyReview_Rejected = 2 //已复审拒绝
|
||
)
|
||
|
||
// 文字人工复审
|
||
const (
|
||
TextManuallyReview_Waiting = 0 //等待复审
|
||
TextManuallyReview_Passed = 1 //已复审通过
|
||
TextManuallyReview_Rejected = 2 //已复审拒绝
|
||
)
|
||
|
||
// 视频人工复审
|
||
const (
|
||
VideoManuallyReview_Waiting = 0 //等待复审
|
||
VideoManuallyReview_Passed = 1 //已复审通过
|
||
VideoManuallyReview_Rejected = 2 //已复审拒绝
|
||
)
|