Initial commit
This commit is contained in:
@@ -17,7 +17,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
*/
|
||||
|
||||
@Configuration
|
||||
@MapperScan(basePackages = {"com.atguigu.auth.mapper","com.atguigu.process.mapper"})
|
||||
@MapperScan(basePackages = {"com.atguigu.auth.mapper","com.atguigu.process.mapper","com.atguigu.wechat.mapper"})
|
||||
public class MybatisPlusConfig {
|
||||
|
||||
/**
|
||||
|
@@ -88,6 +88,9 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
*/
|
||||
@Override
|
||||
public void configure(WebSecurity web) throws Exception {
|
||||
web.ignoring().antMatchers("/favicon.ico", "/swagger-resources/**", "/webjars/**", "/v2/**", "/swagger-ui.html/**", "/doc.html");
|
||||
web.ignoring().antMatchers("/admin/modeler/**", "/diagram-viewer/**", "/editor-app/**", "/*.html",
|
||||
"/admin/processImage/**",
|
||||
"/admin/wechat/authorize", "/admin/wechat/userInfo", "/admin/wechat/bindPhone",
|
||||
"/favicon.ico", "/swagger-resources/**", "/webjars/**", "/v2/**", "/swagger-ui.html/**", "/doc.html");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user