疯狂的狮子li
2021-11-30 4f0e73ba97517ff9bbe1ce5e490a03214b3996cb
ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
@@ -1,14 +1,12 @@
package com.ruoyi.common.constant;
import io.jsonwebtoken.Claims;
/**
 * 通用常量信息
 *
 * @author ruoyi
 */
public class Constants
{
public class Constants {
    /**
     * UTF-8 字符集
     */
@@ -75,6 +73,11 @@
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";
    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "rate_limit:";
    /**
     * 验证码有效期(分钟)
     */
    public static final Integer CAPTCHA_EXPIRATION = 2;
@@ -102,7 +105,7 @@
    /**
     * 用户名称
     */
    public static final String JWT_USERNAME = Claims.SUBJECT;
    public static final String JWT_USERNAME = "sub";
    /**
     * 用户头像
@@ -128,10 +131,5 @@
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";
   /**
    * RMI 远程方法调用
    */
   public static final String LOOKUP_RMI = "rmi://";
}