@Override
    public void onDeleted(final Collection<ResourceDO> data) {
        publish(new BatchResourceDeletedEvent(data, SessionUtil.visitorName()));
    }
on resource delete.

@param data data
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/publish/ResourceEventPublisher.java