@Override
    public void onUpdated(final PluginDO plugin, final PluginDO before) {
        publish(new PluginChangedEvent(plugin, before, EventTypeEnum.PLUGIN_UPDATE, SessionUtil.visitorName()));
    }
on plugin updated.

@param plugin plugin
@param before before plugin
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/publish/PluginEventPublisher.java