mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-05-04 04:37:56 +08:00
增加存储用户对象时建议使用的key
This commit is contained in:
parent
bbb9e1bc73
commit
07fadc2747
@ -25,7 +25,12 @@ public class SaSession implements SaSetValueInterface, Serializable {
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
/**
|
||||
* 在 Session 上存储用户对象时建议使用的key
|
||||
*/
|
||||
public static final String USER = "USER";
|
||||
|
||||
/**
|
||||
* 在 Session 上存储角色时建议使用的key
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user