package com.integrated.startListen;
|
|
import com.integrated.zyyt.ZyytConstant;
|
import org.springframework.boot.context.event.ApplicationStartedEvent;
|
import org.springframework.context.ApplicationListener;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* @ClassName ShowUrl
|
* @Author cy
|
* @Date 2023/9/28
|
* @Description
|
* @Version 1.0
|
**/
|
@Component
|
public class ShowUrl implements ApplicationListener<ApplicationStartedEvent> {
|
|
@Override
|
public void onApplicationEvent(ApplicationStartedEvent event) {
|
System.out.println(ZyytConstant.getUrlInfo());
|
}
|
}
|