添加产品属性分类接口

This commit is contained in:
zhh
2018-04-18 15:41:46 +08:00
parent 569508e96f
commit 8dde877a9f
8 changed files with 191 additions and 15 deletions

View File

@@ -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()