Commit c116ecb6 by guojuxing

用户路由权限

parent 98becaa4
......@@ -101,6 +101,9 @@ public class LoginController {
List<MenuDTO> menuList = menuResult.getResult();
Map<String, Object> map = new HashMap<>(16);
for (MenuDTO menuDTO : menuList) {
if (StringUtils.isBlank(menuDTO.getMenuUrl())) {
continue;
}
map.put(menuDTO.getMenuUrl(), "1");
}
userDetail.setMenuUrlMap(map);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment