疯狂的狮子li
2021-06-16 7bdce848e7067004af1efe32ddc0dc52070b7b45
ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
@@ -2,7 +2,7 @@
/**
 * 通用常量信息
 *
 *
 * @author ruoyi
 */
public class Constants
@@ -63,6 +63,11 @@
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";
    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";
    /**
     * 验证码有效期(分钟)
     */
    public static final Integer CAPTCHA_EXPIRATION = 2;
@@ -121,4 +126,9 @@
     * 资源映射路径 前缀
     */
    public static final String RESOURCE_PREFIX = "/profile";
   /**
    * 资源映射路径 前缀
    */
   public static final String REDIS_LOCK_KEY = "redis_lock:";
}