mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-04-05 17:37:53 +08:00
调整示例代码
This commit is contained in:
parent
b896daf9c7
commit
4a2751cc4b
@ -49,6 +49,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
||||
// 异常处理函数:每次认证函数发生异常时执行此函数
|
||||
.setError(e -> {
|
||||
System.out.println("---------- sa全局异常 ");
|
||||
e.printStackTrace();
|
||||
return SaResult.error(e.getMessage());
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user