mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-10-21 19:17:25 +08:00
feat: 为插件新增 Install 与 Destroy 钩子函数
This commit is contained in:
@@ -106,6 +106,10 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
||||
System.out.println("SaTokenPluginForJackson 插件安装后置钩子2...");
|
||||
})
|
||||
|
||||
// .onInstall(SaTokenPluginForJackson.class, plugin -> {
|
||||
// System.out.println("注册 install 钩子函数后,插件的默认安装行为将不再执行 ...");
|
||||
// })
|
||||
|
||||
;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user