src/main/java/com/moon/server/service/sys/ProxyService.java
@@ -51,6 +51,9 @@ if (null == ue) { return; } if (!check(req, res, ue, token)) { return; } // 9.获取资源实体 ResEntity entity = getResEntity(ue, resId); @@ -156,7 +159,7 @@ */ private ResEntity getResEntity(UserEntity ue, int resId) { String uid = StaticData.ADMIN.equals(ue.getUid()) ? null : ue.getUid(); List<ResEntity> rs = permsService.selectResList(uid); List<ResEntity> rs = permsService.selectRes(uid); if (null == rs || rs.isEmpty()) { return null; }