【front】更新# 1.去除师傅端websocket
parent
4a0ccb6877
commit
5d0cd1279d
|
@ -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();
|
||||
// }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue