feat: 为插件新增 Install 与 Destroy 钩子函数

This commit is contained in:
click33
2025-02-24 20:20:45 +08:00
parent c04241d3b3
commit 672015adf0
2 changed files with 115 additions and 59 deletions

View File

@@ -106,6 +106,10 @@ public class SaTokenConfigure implements WebMvcConfigurer {
System.out.println("SaTokenPluginForJackson 插件安装后置钩子2...");
})
// .onInstall(SaTokenPluginForJackson.class, plugin -> {
// System.out.println("注册 install 钩子函数后,插件的默认安装行为将不再执行 ...");
// })
;
}