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

import com.alibaba.fastjson.JSONObject;

import java.util.Map;

/**
 * @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 AUDIT_CALLBACK_FAIL = 3;

    /**
     * 领取状态:未领
     */
    public static Boolean RECEIVE_BEFORE = false;
    /**
     * 领取状态:已领
     */
    public static Boolean RECEIVE_AFTER= true;

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


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

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

    public static JSONObject BUSINESS = JSONObject.parseObject("{\"1\":\"点播业务\",\"2\":\"评论业务\"}");

    /**
     * 抽帧状态:未抽帧
     */
    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 DYNAMIC_USER = "DYNAMIC_USER";
    
    /**
     * 数美过滤器尺度状态:商户
     */
    public static String DYNAMIC_BUSINESS = "DYNAMIC_BUSINESS";
    
    /**
     * 数美过滤器尺度状态:新闻
     */
    public static String DYNAMIC_NEWS = "DYNAMIC_NEWS";

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

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

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

}