疯狂的狮子li
2021-11-30 4f0e73ba97517ff9bbe1ce5e490a03214b3996cb
ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
@@ -1,12 +1,12 @@
package com.ruoyi.common.constant;
/**
 * 通用常量信息
 *
 *
 * @author ruoyi
 */
public class Constants
{
public class Constants {
    /**
     * UTF-8 字符集
     */
@@ -48,6 +48,11 @@
    public static final String LOGOUT = "Logout";
    /**
     * 注册
     */
    public static final String REGISTER = "Register";
    /**
     * 登录失败
     */
    public static final String LOGIN_FAIL = "Error";
@@ -66,6 +71,11 @@
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";
    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "rate_limit:";
    /**
     * 验证码有效期(分钟)
@@ -122,8 +132,4 @@
     */
    public static final String SYS_DICT_KEY = "sys_dict:";
    /**
     * 资源映射路径 前缀
     */
    public static final String RESOURCE_PREFIX = "/profile";
}