zhubaomin
2025-04-03 c6beb89b7170115eada78526f87406381c931229
pipIrr-platform/pipIrr-web/pipIrr-web-sso/src/main/java/com/dy/sso/util/SsoListener.java
@@ -1,12 +1,17 @@
package com.dy.sso.util;
import com.dy.pipIrrGlobal.util.OrgListenerSupport;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.core.io.ResourceLoader;
import org.springframework.stereotype.Component;
@Component
public class SsoListener extends OrgListenerSupport implements ApplicationListener<ApplicationReadyEvent> {
    @Autowired
    protected ResourceLoader resourceLoader ;
    @Override
@@ -17,7 +22,8 @@
        } catch (InterruptedException e) {
            e.printStackTrace();
        } finally {
            super.init();
            //初始化机构
            super.init(resourceLoader);
        }
    }