|
@@ -69,8 +69,8 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
|
|
*/
|
|
|
|
|
|
}))
|
|
|
- .addPathPatterns("/**")
|
|
|
- .excludePathPatterns("/error");
|
|
|
+ .addPathPatterns("/**")
|
|
|
+ .excludePathPatterns("/error");
|
|
|
|
|
|
}
|
|
|
|
|
@@ -86,8 +86,8 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
|
|
.setExcludeList(saTokenConfigProperties.getIgnoreUrls())
|
|
|
// .addExclude("/favicon.ico")
|
|
|
|
|
|
-
|
|
|
- // 认证函数: 每次请求执行
|
|
|
+
|
|
|
+ // 认证函数: 每次请求执行
|
|
|
// .setAuth(obj -> {
|
|
|
// // System.out.println("---------- sa全局认证 " + SaHolder.getRequest().getRequestPath());
|
|
|
// // SaManager.getLog().debug("----- 请求path={} 提交token={}", SaHolder.getRequest().getRequestPath(), StpUtil.getTokenValue());
|