新增 SaRouter.stop() 函数

This commit is contained in:
shengzhang
2021-06-03 23:30:16 +08:00
parent 4efb0568e5
commit c57a5cfc9d
18 changed files with 142 additions and 71 deletions

View File

@@ -28,7 +28,7 @@ public class SaTokenConfigure {
// 指定[认证函数]: 每次请求执行
.setAuth(r -> {
System.out.println("---------- sa全局认证");
// SaRouterUtil.match("/test/test", () -> StpUtil.checkLogin());
// SaRouter.match("/test/test", () -> StpUtil.checkLogin());
})
// 指定[异常处理函数]:每次[认证函数]发生异常时执行此函数
.setError(e -> {