【front】更新# 1.去除师傅端websocket

dev
dabin 2025-02-10 10:47:51 +08:00
parent 4a0ccb6877
commit 5d0cd1279d
1 changed files with 7 additions and 6 deletions

View File

@ -22,7 +22,8 @@ import javax.annotation.Resource;
@EnableTransactionManagement
@SpringBootApplication(exclude = {RedisRepositoriesAutoConfiguration.class})
@EnableScheduling
public class FrontApplication implements CommandLineRunner {
//implements CommandLineRunner
public class FrontApplication {
@Resource
private NettyWebsocketServer nettyWebsocketServer;
@ -31,9 +32,9 @@ public class FrontApplication implements CommandLineRunner {
SpringApplication.run(FrontApplication.class, args);
}
@Override
public void run(String... args) throws Exception {
//启动websocket服务
new Thread(nettyWebsocketServer).start();
}
// @Override
// public void run(String... args) throws Exception {
// //启动websocket服务
// new Thread(nettyWebsocketServer).start();
// }
}