2023-12-21 22:17:40 +08:00
|
|
|
|
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 (
|
2023-12-25 11:21:53 +08:00
|
|
|
|
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 //批次任务失败
|
2024-02-07 12:07:28 +08:00
|
|
|
|
ImageAudit_ForAlignment = 11 //对齐使用
|
2023-12-21 22:17:40 +08:00
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// 文字审核表状态
|
|
|
|
|
const (
|
2023-12-25 11:21:53 +08:00
|
|
|
|
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 //批次任务失败
|
2024-02-07 12:07:28 +08:00
|
|
|
|
TextAudit_ForAlignment = 11 //对齐使用
|
2023-12-21 22:17:40 +08:00
|
|
|
|
)
|
2023-12-28 18:20:53 +08:00
|
|
|
|
|
|
|
|
|
// 意见反馈表的status审批状态
|
|
|
|
|
const (
|
|
|
|
|
Feedback_Created = 0 //待处理
|
|
|
|
|
Feedback_Handling = 1 //跟进中
|
|
|
|
|
Feedback_Handled = 2 //已处理
|
|
|
|
|
Feedback_Invalid = 3 //无效
|
2023-12-29 18:48:37 +08:00
|
|
|
|
Feedback_RelatedToIteration = 4 //迭代相关
|
2023-12-28 18:20:53 +08:00
|
|
|
|
)
|
2024-02-01 20:06:43 +08:00
|
|
|
|
|
|
|
|
|
// 动态表status状态
|
|
|
|
|
const (
|
|
|
|
|
Moment_Private = 0 //仅自己可见
|
|
|
|
|
Moment_OpenToCircles = 1 //仅朋友圈可见
|
|
|
|
|
Moment_Public = 2 //公开
|
|
|
|
|
)
|
2024-02-01 20:10:02 +08:00
|
|
|
|
|
2024-01-19 00:31:03 +08:00
|
|
|
|
// 是否被关注
|
|
|
|
|
const (
|
|
|
|
|
IsFollowed_No = 0 //否
|
|
|
|
|
IsFollowed_Yes = 1 //是
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// 是否被点赞
|
|
|
|
|
const (
|
|
|
|
|
IsThumbedUp_No = 0 //否
|
|
|
|
|
IsThumbedUp_Yes = 1 //是
|
|
|
|
|
)
|
2024-02-07 12:07:28 +08:00
|
|
|
|
|
|
|
|
|
// 是否已经对齐
|
|
|
|
|
// 对齐是指同一张表中,某一些审核字段必须在审核表中同时存在,以便查询
|
|
|
|
|
// ex:动态表Moment,需要将文字和图像的审核任务对齐,二者不能单独存在,就算某个创建动态的请求只有图片,没有文字,
|
|
|
|
|
// 也应在文字审核表中插入一条status为11的空任务,这样便于查询该类对齐任务时做分页查询
|
|
|
|
|
const (
|
|
|
|
|
ImageAuditIsAligned_No = 0 //否
|
|
|
|
|
ImageAuditIsAligned_Yes = 1 //是
|
|
|
|
|
TextAuditIsAligned_No = 0 //否
|
|
|
|
|
TextAuditIsAligned_Yes = 1 //是
|
|
|
|
|
)
|