- package com.goafanti.common.constant;
- public class ShiroConstants {
- public static final String SESSION_STATUS = "goafanti-online-status";
- public static final String REDIS_SHIRO_SESSION = "goafanti-session:";
- public static final String REDIS_SHIRO_ALL = "*goafanti-session:*";
- // 0:禁止登录
- public static final Integer USER_DISABLE = new Integer(0);
- // 1:有效
- public static final Integer USER_ENABLE = new Integer(1);
- }
|