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:
小可开源 2022-12-09 07:40:21 +00:00 committed by Gitee
parent 6b8dcbc42f
commit c62f61755f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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
```