mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-08-23 22:11:29 +08:00
update sa-token-doc/api/sa-session.md.
常量说明中 SaSession.ROLE_LIST= "USER"; // 在Session 上存储用户对象时建议使用的key 写成了角色的值SaSession.ROLE_LIST,应该为SaSession.USER Signed-off-by: 小可开源 <2479427380@qq.com>
This commit is contained in:
parent
6b8dcbc42f
commit
c62f61755f
@ -6,7 +6,7 @@ SaSession-会话对象,专业数据缓存组件。
|
||||
|
||||
### 1、常量
|
||||
``` java
|
||||
SaSession.ROLE_LIST = "USER"; // 在 Session 上存储用户对象时建议使用的key
|
||||
SaSession.USER= "USER"; // 在 Session 上存储用户对象时建议使用的key
|
||||
SaSession.ROLE_LIST = "ROLE_LIST"; // 在 Session 上存储角色时建议使用的key
|
||||
SaSession.PERMISSION_LIST = "PERMISSION_LIST"; // 在 Session 上存储权限时建议使用的key
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user