feature: 调整插件自动注册逻辑。

This commit is contained in:
pixelmaxQM
2024-07-21 21:36:25 +08:00
parent 6e4dc10c49
commit 01f6814a25
2 changed files with 3 additions and 4 deletions
@@ -137,10 +137,6 @@ func (s *autoCodeHistory) RollBack(ctx context.Context, info request.SysAutoHist
var entity ast.PluginEnter
_ = json.Unmarshal([]byte(value), &entity)
injection = &entity
case ast.TypePluginInitializeV2:
var entity ast.PluginInitializeV2
_ = json.Unmarshal([]byte(value), &entity)
injection = &entity
case ast.TypePluginInitializeGorm:
var entity ast.PluginInitializeGorm
_ = json.Unmarshal([]byte(value), &entity)