|
@@ -19,6 +19,7 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
|
|
|
.antMatchers("/swagger-ui.html","/webjars/**", "/webjars/**", "/swagger-resources/**",
|
|
|
"/webSocket/**","/message/sendToOne","/messageTemplate/**","/messageType/**",
|
|
|
"/order/workOrderManage/saveByAlarms",
|
|
|
+ "/workflow/process/image*",
|
|
|
"/v2/**")
|
|
|
.permitAll() //配置不需要身份认证的请求路径
|
|
|
.anyRequest().authenticated() //其他所有访问路径都需要身份认证
|