Skip to content

Commit

Permalink
v1.1 版本发布,详细信息查看发行版说明
Browse files Browse the repository at this point in the history
  • Loading branch information
郑杰 committed Dec 25, 2018
1 parent 4765785 commit 6375f68
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ protected void configure(HttpSecurity httpSecurity) throws Exception {
.authorizeRequests()

.antMatchers("/auth/**").permitAll()
.antMatchers("/websocket/**").anonymous()
.antMatchers("/websocket/**").permitAll()

.antMatchers("/druid/**").anonymous()
// swagger start
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
} catch (ExpiredJwtException e) {
logger.error(e.getMessage());
}
} else {
logger.warn("couldn't find bearer string, will ignore the header");
}

logger.debug("checking authentication for user '{}'", username);
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/me/zhengjie/system/domain/vo/MenuVo.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public class MenuVo {

private String path;

private String redirect;

private String component;

private Boolean alwaysShow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public List<MenuVo> buildMenus(List<MenuDTO> menuDTOS) {
if(menuDTO.getPid().equals(0L)){
//一级目录需要加斜杠,不然访问不了
menuVo.setPath("/" + menuDTO.getPath());
menuVo.setName(null);
menuVo.setRedirect("noredirect");
}
menuVo.setComponent(StrUtil.isEmpty(menuDTO.getComponent())?"Layout":menuDTO.getComponent());
}
Expand Down

0 comments on commit 6375f68

Please sign in to comment.