You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.9 KiB
50 lines
1.9 KiB
package com.youlai.boot.admin.constant;
|
|
|
|
/**
|
|
* 内容审核状态常量
|
|
*/
|
|
public final class AuditConstants {
|
|
|
|
private AuditConstants() {}
|
|
|
|
// ======================== 通用状态(task + audit 共用) ========================
|
|
/** 审核中 */
|
|
public static final String STATUS_REVIEWING = "reviewing";
|
|
/** 审核通过 */
|
|
public static final String STATUS_PASSED = "passed";
|
|
/** 审核不通过 */
|
|
public static final String STATUS_REJECTED = "rejected";
|
|
/** 待人工审核 */
|
|
public static final String STATUS_MANUAL_REVIEW = "manual_review";
|
|
|
|
// ======================== audit 专用状态 ========================
|
|
/** 申诉中 */
|
|
public static final String STATUS_APPEALING = "appealing";
|
|
|
|
// ======================== 风险等级 ========================
|
|
public static final String RISK_NONE = "none";
|
|
public static final String RISK_MEDIUM = "medium";
|
|
public static final String RISK_HIGH = "high";
|
|
|
|
// ======================== 审核策略 ========================
|
|
public static final String STRATEGY_AUTO = "auto";
|
|
public static final String STRATEGY_NORMAL = "normal";
|
|
public static final String STRATEGY_CAUTIOUS = "cautious";
|
|
|
|
// ======================== 审核类型 ========================
|
|
public static final String AUDIT_TYPE_MACHINE = "machine";
|
|
public static final String AUDIT_TYPE_MANUAL = "manual";
|
|
|
|
// ======================== 触发类型 ========================
|
|
public static final String TRIGGER_CREATE = "create";
|
|
public static final String TRIGGER_REPORT = "report";
|
|
|
|
// ======================== 业务审核状态 ========================
|
|
/** 审核通过 (可直接发布/展示) */
|
|
public static final Integer BIZ_AUDIT_STATUS_PASSED = 0;
|
|
/** 审核中 */
|
|
public static final Integer BIZ_AUDIT_STATUS_REVIEWING = 1;
|
|
/** 审核未通过 */
|
|
public static final Integer BIZ_AUDIT_STATUS_REJECTED = 2;
|
|
|
|
}
|
|
|