调整示例代码

This commit is contained in:
click33 2024-04-12 09:27:31 +08:00
parent b896daf9c7
commit 4a2751cc4b

View File

@ -49,6 +49,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
// 异常处理函数每次认证函数发生异常时执行此函数
.setError(e -> {
System.out.println("---------- sa全局异常 ");
e.printStackTrace();
return SaResult.error(e.getMessage());
})