feature: 调整插件自动注册逻辑。
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user