|
@@ -25,11 +25,10 @@ import zd.common.mqtt.config.MqttProperties;
|
|
|
public class ForwardApp {
|
|
public class ForwardApp {
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
public static void main(String[] args) {
|
|
|
- try (ConfigurableApplicationContext run = SpringApplication.run(ForwardApp.class, args)){
|
|
|
|
|
- //获取token
|
|
|
|
|
- LoginService bean = run.getBeanFactory().getBean(LoginService.class);
|
|
|
|
|
- bean.loginLab();
|
|
|
|
|
- System.out.println("(♥◠‿◠)ノ゙ 转发服务启动! ლ(´ڡ`ლ)゙");
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ ConfigurableApplicationContext run = SpringApplication.run(ForwardApp.class, args);
|
|
|
|
|
+ //获取token
|
|
|
|
|
+ LoginService bean = run.getBeanFactory().getBean(LoginService.class);
|
|
|
|
|
+ bean.loginLab();
|
|
|
|
|
+ System.out.println("(♥◠‿◠)ノ゙ 转发服务启动! ლ(´ڡ`ლ)゙");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|