package com.wx.application.constant;

/**
 * 系统运行时一些常量
 */
public interface CONSTANT {
    //分页大小名称
    String pageSizeStr = "pageSize";
    //默认分页大小
    Long pageSize = 10L;
    //当前页名称
    String pageNumStr = "pageNo";
    //默认分页名称
    Long pageNum = 1L;

    String REQUEST_ID_KEY = "REQ_ID";
    String REQUEST_URL = "REQ_URL";
    String X_REQ_ID = "X-Request-Id";
    String OP_RESOURCE_NAME = "OP_RESOURCE_NAME";

    /**
     * 请求号header标识
     */
    String TOKEN_NAME = "Authorization";
    String MD5_ID = "Md5id";
    String USER_SIGN = "usrSign";
    String USER_SIGN_NAME = "usrSignName";

    String JWT_USER_TAG = "JWT_USER_TAG";

    String LOGIN_TYPE_ADMIN = "LOGIN_TYPE_ADMIN";

    String COSURL = "https://yzhishuimian-1301717583.cos.ap-beijing.myqcloud.com/";

    String[] imgArr = {"bmp", "jpg", "png", "tif", "gif", "pcx", "tga", "exif", "fpx", "svg", "psd",
            "cdr", "pcd", "dxf", "ufo", "eps", "ai", "raw", "WMF", "webp"};

    String[] videoArr = {"avi", "mpeg", "mpg", "dat", "ra", "rm", "rmvb", "mov", "qt", "flv", "wmv",
            "asf", "mkv", "mp4", "m4v"};

    //用户ip
    String IP = "IP";

    //订单默认超时时间分钟
    public final static int ORDER_EXPIRE = 60;

    Integer batch_create_max = 2000;
    
    Integer maxAggregation = 10000000;
    
    Integer nebula_batch_create_max = 500;
}
