RuoYi
2021-11-17 173c0e384ffc63baa3f07b8adacedc5ff7ae0a10
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java
@@ -18,6 +18,16 @@
    public static final String GBK = "GBK";
    /**
     * RMI 远程方法调用
     */
    public static final String LOOKUP_RMI = "rmi://";
    /**
     * LDAP 远程方法调用
     */
    public static final String LOOKUP_LDAP = "ldap://";
    /**
     * http请求
     */
    public static final String HTTP = "http://";
@@ -31,10 +41,11 @@
     * 成功标记
     */
    public static final Integer SUCCESS = 200;
    /**
     * 失败标记
     */
    public static final Integer FAIL = 501;
    public static final Integer FAIL = 500;
    /**
     * 登录成功
@@ -84,7 +95,8 @@
    /**
     * 验证码有效期(分钟)
     */
    public static final Integer CAPTCHA_EXPIRATION = 2;
    public static final long CAPTCHA_EXPIRATION = 2;
    /**
     * 参数管理 cache key
@@ -100,4 +112,10 @@
     * 资源映射路径 前缀
     */
    public static final String RESOURCE_PREFIX = "/profile";
    /**
     * 定时任务违规的字符
     */
    public static final String[] JOB_ERROR_STR = { "java.net.URL", "javax.naming.InitialContext", "org.yaml.snakeyaml",
            "org.springframework.jndi" };
}