| 程序包 | 说明 |
|---|---|
| cn.ipokerface.admin.cache.service |
| 限定符和类型 | 方法和说明 |
|---|---|
AccountModel |
AdminCacheService.getAccount(String token) |
AccountModel |
AdminCacheRedisService.getAccount(String token)
通过token获取 accountModel
|
List<AuthorityModel> |
AdminCacheService.getAccountAuthorities(String token)
'
|
List<AuthorityModel> |
AdminCacheRedisService.getAccountAuthorities(String token)
获取一个账号的权限列表
|
Long |
AdminCacheService.getAccountId(String token) |
Long |
AdminCacheRedisService.getAccountId(String token)
通过token获取后台 accountId
|
Copyright © 2021. All rights reserved.