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