| | |
| | | public void pointCut() { |
| | | } |
| | | |
| | | private final static String ADMIN = "f5c8bcb7d5a0fd27e2323280f7e98cad"; |
| | | private final static String ADMIN = "c3284d0f94606de1fd2af172aba15bf3"; |
| | | |
| | | |
| | | @Resource |
| | |
| | | boolean b = roleService.hasUrl(String.valueOf(urlType.get("type")), String.valueOf(urlType.get("menuId")), roleId); |
| | | if (!b) { |
| | | log.warn("用户/id:" + userInfo.get("name") + "/" + userInfo.get("id") + "---------权限不足,已拦截!"); |
| | | //throw new AuthException("400","无权限"); |
| | | throw new AuthException("400","无权限"); |
| | | } |
| | | } else { |
| | | throw new AuthException("401", "登陆过期!"); |