mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-10-22 03:27:23 +08:00
feat: 为插件的安装与卸载提供钩子函数支持
This commit is contained in:
@@ -27,7 +27,7 @@ import cn.dev33.satoken.json.SaJsonTemplateForJackson;
|
||||
public class SaTokenPluginForJackson implements SaTokenPlugin {
|
||||
|
||||
@Override
|
||||
public void setup() {
|
||||
public void install() {
|
||||
SaManager.setSaJsonTemplate(new SaJsonTemplateForJackson());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user