疯狂的狮子li
2021-08-02 cfdeada3fdb415ea451fb3fb76b96a2e7977752c
ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
@@ -1,8 +1,10 @@
package com.ruoyi.common.constant;
import io.jsonwebtoken.Claims;
/**
 * 通用常量信息
 *
 *
 * @author ruoyi
 */
public class Constants
@@ -46,6 +48,11 @@
     * 注销
     */
    public static final String LOGOUT = "Logout";
    /**
     * 注册
     */
    public static final String REGISTER = "Register";
    /**
     * 登录失败
@@ -95,7 +102,7 @@
    /**
     * 用户名称
     */
    public static final String JWT_USERNAME = "sub";
    public static final String JWT_USERNAME = Claims.SUBJECT;
    /**
     * 用户头像
@@ -126,4 +133,14 @@
     * 资源映射路径 前缀
     */
    public static final String RESOURCE_PREFIX = "/profile";
   /**
    * RMI 远程方法调用
    */
   public static final String LOOKUP_RMI = "rmi://";
   /**
    * 资源映射路径 前缀
    */
   public static final String REDIS_LOCK_KEY = "redis_lock:";
}