CommonConst.java 1.78 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_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;


}