package com.xf.mymark; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.stereotype.Component; @Component public class StartCallBack implements ApplicationRunner { @Value("${server.port}") private String port; @Override public void run(ApplicationArguments args) throws Exception { try { Runtime.getRuntime().exec("explorer http://localhost:"+port+"/"); }catch (Exception e){ } } }

7214978 LV2
1月7日
hanweinan6 LV13
2024年10月9日
Seaskye LV14
2023年11月4日
笑得很美 LV11
2023年10月12日
DeanYao LV2
2023年10月11日
1483259138 LV1
2023年9月18日
最代码官方 LV168
2023年9月16日

blanknb
3月18日
暂无贡献等级
段池卿 LV1
1月19日
7214978 LV2
1月7日
yimaoermao LV1
2024年11月28日
charleswang LV7
2024年10月21日
hanweinan6 LV13
2024年10月9日
Peny_ZH LV5
2024年9月20日
develop LV10
2024年6月2日
hmf1989
2024年4月30日
暂无贡献等级
kenhomeliu LV29
2024年4月30日