Commit 8eb0135b277571e9e65275379470bac3e7090b6d
1 parent
6fa74680
'修改readme中路径地址'
Showing
3 changed files
with
5 additions
and
5 deletions
README.md
| ... | ... | @@ -6,8 +6,8 @@ itcast-authority 权限管家- [官方主页](https://pip.itcast.cn/java-qxgj) |
| 6 | 6 | |
| 7 | 7 | - [后端Gitee地址](https://gitee.com/itcastopen/itcast-authority.git) |
| 8 | 8 | - [后端Github地址](https://github.com/itcastopen/itcast-authority.git) |
| 9 | -- [前端Gitee地址](https://gitee.com/itcastopen/itcast-authority-vue.git) | |
| 10 | -- [前端Github地址](https://github.com/itcastopen/itcast-authority-vue.git) | |
| 9 | +- [前端Gitee地址](https://gitee.com/itcastopen/itcast-authority-web.git) | |
| 10 | +- [前端Github地址](https://github.com/itcastopen/itcast-authority-web.git) | |
| 11 | 11 | |
| 12 | 12 | |
| 13 | 13 | **在线演示** | ... | ... |
itcast-auth/itcast-auth-server/src/main/java/com/itheima/authority/biz/service/auth/impl/AuthManager.java
| ... | ... | @@ -170,7 +170,7 @@ public class AuthManager { |
| 170 | 170 | return R.fail(R.FAIL_CODE, "用户没有当前应用的权限"); |
| 171 | 171 | } |
| 172 | 172 | |
| 173 | - // 缓存token 缓存时间要超过token 失效时间 | |
| 173 | + // 查找用户的资源权限编码 | |
| 174 | 174 | List<Resource> resourceList = this.resourceService.findVisibleResource(ResourceQueryDTO.builder().userId(user.getId()).build()); |
| 175 | 175 | log.info("resourceList {} {}", resourceList.size(), resourceList); |
| 176 | 176 | List<String> permissionsList = resourceList.stream().filter(item -> item != null).map(Resource::getCode).collect(Collectors.toList()); | ... | ... |
pom.xml
| ... | ... | @@ -34,10 +34,10 @@ |
| 34 | 34 | <!--当前环境--> |
| 35 | 35 | <pom.profile.name>dev</pom.profile.name> |
| 36 | 36 | <!--Nacos配置中心地址--> |
| 37 | - <pom.nacos.ip>localhost</pom.nacos.ip> | |
| 37 | + <pom.nacos.ip>192.168.138.100</pom.nacos.ip> | |
| 38 | 38 | <pom.nacos.port>8848</pom.nacos.port> |
| 39 | 39 | <!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空--> |
| 40 | - <pom.nacos.namespace>0d85ebfd-8311-42d9-a856-5ac5e124f73d</pom.nacos.namespace> | |
| 40 | + <pom.nacos.namespace>9c3cb944-d5b3-4c87-a32e-170db76fae01</pom.nacos.namespace> | |
| 41 | 41 | |
| 42 | 42 | </properties> |
| 43 | 43 | </profile> | ... | ... |