Skip to content

Commit

Permalink
增加代码注释
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoule committed May 28, 2019
1 parent f6103b4 commit 2572714
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public String execute(HttpServletRequest request, Model model) {
@RequestMapping(value = "/menu", method = RequestMethod.GET)
public @ResponseBody Result menu(HttpServletRequest request) {
SessionPermission sessionPermission = SessionUtils.getSessionPermission(request);
// 如果配置的权限拦截器,则获取登录用户权限下的菜单,没有权限拦截限制的情况下,获取当前系统菜单呈现
// 获取登录用户权限下的菜单列表
return Result.createSuccessResult().setData(
sessionPermission == null ? new ArrayList<>() : sessionPermission
.getMenuList());
Expand Down

0 comments on commit 2572714

Please sign in to comment.