src/main/java/com/ruoyi/common/constant/ShiroConstants.java
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
package com.ruoyi.common.constant;
/**
* Shiro通用常量
*
* @author ruoyi
*/
public class ShiroConstants
{
/**
* 当前登录的用户
*/
public static final String CURRENT_USER = "currentUser";
/**
* 用户名字段
*/
public static final String CURRENT_USERNAME = "username";
/**
* 锁定屏幕字段
*/
public static final String LOCK_SCREEN = "lockscreen";
/**
* 消息key
*/
public static final String MESSAGE = "message";
/**
* 错误key
*/
public static final String ERROR = "errorMsg";
/**
* 编码格式
*/
public static final String ENCODING = "UTF-8";
/**
* 当前在线会话
*/
public static final String ONLINE_SESSION = "online_session";
/**
* 验证码key
*/
public static final String CURRENT_CAPTCHA = "captcha";
/**
* 验证码开关
*/
public static final String CURRENT_ENABLED = "captchaEnabled";
/**
* 验证码类型
*/
public static final String CURRENT_TYPE = "captchaType";
/**
后面还有 19 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
