CommonConst.java 5.45 KB
package com.cnlive.shenhe.utils;

import com.alibaba.fastjson.JSONObject;

/**
 * @Auther: 周伟鹏
 * @Date: 2018/11/30 14:20
 * @Description:
 */
public class CommonConst {
    /**
     * 审核状态:待审核
     */
    public static Integer AUDIT_INTT = 0;
    /**
     * 审核状态:审核通过
     */
    public static Integer AUDIT_SUCCESS = 1;
    /**
     * 审核状态:审核拒绝
     */
    public static Integer AUDIT_REFUSE = 2;
    /**
     * 审核类型:免审
     */
    public static Integer AUDIT_TYPE_FREE = 1;
    /**
     * 审核类型:机审
     */
    public static Integer AUDIT_TYPE_MACHANE = 2;
    /**
     * 审核类型:人工审
     */
    public static Integer AUDIT_TYPE_USER = 3;
    /**
     * 禁言状态:禁言
     */
    public static Integer SPEAK_NOT = 1;
    /**
     * 禁言状态:解禁
     */
    public static Integer SPEAK_YES = 0;

    /**
     * 审核状态:白名单通过回调失败
     */
    public static Integer AUDIT_CALLBACK_FAIL = 3;

    /**
     * 领取状态:未领
     */
    public static Integer RECEIVE_BEFORE = 0;
    /**
     * 领取状态:已领
     */
    public static Integer RECEIVE_AFTER = 1;
    /**
     * 领取状态:已审
     */
    public static Integer RECEIVE_AUDIT = 2;

    /**
     * 用户状态:可用
     */
    public static Integer USER_STATUS_USE = 1;
    /**
     * 用户状态:禁用
     */
    public static Integer USER_STATUS_FORBID = 2;

    /**
     * 通知状态:未通知
     */
    public static Integer NOTICE_INTT = 1;
    /**
     * 通知状态:已通知
     */
    public static Integer NOTICE_SUCCESS = 2;
    /**
     * 通知状态:通知失败
     */
    public static Integer NOTICE_FAIL = 3;


    /**
     * 白名单业务:点播
     */
    public static Integer BUSINESS_VIDEO = 1;

    /**
     * 白名单业务:评论
     */
    public static Integer BUSINESS_COMMENT = 2;

    /**
     * 白名单业务:图文
     */
    public static Integer BUSINESS_CONTENT = 3;

    /**
     * 白名单业务:频道
     */
    public static Integer BUSINESS_CHANNEL = 4;

    /**
     * 白名单业务:直播申请
     */
    public static Integer BUSINESS_LIVEAPPLY = 5;
    /**
     * 白名单业务:话题申请
     */
    public static Integer BUSINESS_TOPIC = 6;
    /**
     * 白名单业务:音频
     */
    public static Integer BUSINESS_AUDIO = 7;

    //白名单设置
    public static JSONObject BUSINESS = JSONObject.parseObject("{\"1\":\"点播业务\",\"2\":\"评论业务\",\"3\":\"图文业务\",\"4\":\"频道业务\",\"5\":\"直播申请业务\",\"6\":\"话题业务\",\"7\":\"音频业务\"}");

    /**
     * 弹窗消息:频道
     */
    public static Integer NOTICE_CHANNAL = 1;

    /**
     * 弹窗消息:直播申请
     */
    public static Integer NOTICE_LIVEAPPLY = 2;

    /**
     * 弹窗消息:话题审核
     */
    public static Integer NOTICE_TOPIC = 3;

    //通知消息设置
    public static JSONObject NOTICE = JSONObject.parseObject("{\"1\":\"频道通知\",\"2\":\"直播申请通知\",\"3\":\"话题审核通知\"}");

    /**
     * 邮件消息:直播申请
     */
    public static Integer EMAIL_LIVEAPPLY = 1;

    //邮件消息设置
    public static JSONObject EMAIL_MESSAGE = JSONObject.parseObject("{\"1\":\"直播申请邮件通知\"}");

    //抽帧状态 1:不抽帧 2:待抽帧 3:抽帧中 4:抽帧完成 5:抽帧失败
    /**
     * 抽帧状态:未抽帧
     */
    public static Integer AVSAMPLE_INTIT = 0;
    /**
     * 抽帧状态:抽帧中
     */
    public static Integer AVSAMPLE_ING = 1;
    /**
     * 抽帧状态:抽帧完成
     */
    public static Integer AVSAMPLE_SUCCESS = 2;
    /**
     * 抽帧状态:抽帧失败
     */
    public static Integer AVSAMPLE_FAIL = 3;

    /**
     * 金山标记
     */
    public static Integer KS_PLAT = 1;
    /**
     * 七牛标记
     */
    public static Integer QINIU_PLAT = 2;

    /**
     * 栏目分类,目击者
     */
    public static String CATEGORY_WITNESS = "witness";
    /**
     * 栏目分类,朋友圈
     */
    public static String CATEGORY_MOMENT = "moment";
    /**
     * 栏目分类,达人
     */
    public static String CATEGORY_SUB = "sub";
    /**
     * 栏目分类,上冰雪
     */
    public static String CATEGORY_SNOW = "snow";
    /**
     * 栏目分类,航空节
     */
    public static String CATEGORY_AVIATION = "aviation";
    /**
     * 栏目分类,话题
     */
    public static String CATEGORY_TOPIC = "topic";
    /**
     * 栏目分类,其他
     */
    public static String CATEGORY_ELSE = "else";


    public static JSONObject CATEGORY = JSONObject.parseObject("{\"witness\":\"目击者\",\"moment\":\"朋友圈\",\"sub\":\"达人\",\"snow\":\"上冰雪\",\"aviation\":\"航空节\",\"topic\":\"话题\"}");
    /**
     * 数美过滤器尺度状态:用户
     */
    public static String DYNAMIC_USER = "DYNAMIC_USER";

    /**
     * 数美过滤器尺度状态:商户
     */
    public static String DYNAMIC_BUSINESS = "DYNAMIC_BUSINESS";

    /**
     * 数美过滤器尺度状态:新闻
     */
    public static String DYNAMIC_NEWS = "NEWS";

    /**
     * 数美过滤器返回结果:通过
     */
    public static String PASS = "pass";

    /**
     * 数美过滤器返回结果:拒绝
     */
    public static String REJECT = "reject";

    /**
     * 数美过滤器返回结果:异常
     */
    public static String REVIEW = "review";

}