mirror of https://github.com/elunez/eladmin
v1.1 版本发布,详细信息查看发行版说明
parent
4765785cf1
commit
6375f682b5
|
@ -77,7 +77,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|||
.authorizeRequests()
|
||||
|
||||
.antMatchers("/auth/**").permitAll()
|
||||
.antMatchers("/websocket/**").anonymous()
|
||||
.antMatchers("/websocket/**").permitAll()
|
||||
|
||||
.antMatchers("/druid/**").anonymous()
|
||||
// swagger start
|
||||
|
|
|
@ -49,8 +49,6 @@ public class JwtAuthorizationTokenFilter extends OncePerRequestFilter {
|
|||
} 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);
|
||||
|
|
|
@ -17,6 +17,8 @@ public class MenuVo {
|
|||
|
||||
private String path;
|
||||
|
||||
private String redirect;
|
||||
|
||||
private String component;
|
||||
|
||||
private Boolean alwaysShow;
|
||||
|
|
|
@ -141,7 +141,7 @@ public class MenuServiceImpl implements MenuService {
|
|||
if(menuDTO.getPid().equals(0L)){
|
||||
//一级目录需要加斜杠,不然访问不了
|
||||
menuVo.setPath("/" + menuDTO.getPath());
|
||||
menuVo.setName(null);
|
||||
menuVo.setRedirect("noredirect");
|
||||
}
|
||||
menuVo.setComponent(StrUtil.isEmpty(menuDTO.getComponent())?"Layout":menuDTO.getComponent());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue