添加产品属性分类接口
This commit is contained in:
@@ -30,7 +30,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
http.authorizeRequests()//配置权限
|
||||
// .antMatchers("/").access("hasRole('TEST')")//该路径需要TEST角色
|
||||
.antMatchers("/").authenticated()//该路径需要登录认证
|
||||
// .antMatchers("/brand/list").hasAuthority("TEST")//该路径需要TEST权限
|
||||
// .antMatchers("/brand/getList").hasAuthority("TEST")//该路径需要TEST权限
|
||||
.antMatchers("/**").permitAll()
|
||||
.and()//启用基于http的认证
|
||||
.httpBasic()
|
||||
|
||||
Reference in New Issue
Block a user