public void onUpdated(final RuleDO rule, final RuleDO before, final List<RuleConditionDTO> condition, final List<RuleConditionDO> beforeCondition) {
        publish(new RuleUpdatedEvent(rule, before, SessionUtil.visitorName()));
        publishEvent(rule, condition, beforeCondition);
    }
on rule updated.

@param rule      rule
@param before    before rule
@param condition condition
@param beforeCondition beforeCondition
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/publish/RuleEventPublisher.java