【front】更新# 1.去除师傅端websocket
parent
4a0ccb6877
commit
5d0cd1279d
|
@ -22,7 +22,8 @@ import javax.annotation.Resource;
|
||||||
@EnableTransactionManagement
|
@EnableTransactionManagement
|
||||||
@SpringBootApplication(exclude = {RedisRepositoriesAutoConfiguration.class})
|
@SpringBootApplication(exclude = {RedisRepositoriesAutoConfiguration.class})
|
||||||
@EnableScheduling
|
@EnableScheduling
|
||||||
public class FrontApplication implements CommandLineRunner {
|
//implements CommandLineRunner
|
||||||
|
public class FrontApplication {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private NettyWebsocketServer nettyWebsocketServer;
|
private NettyWebsocketServer nettyWebsocketServer;
|
||||||
|
@ -31,9 +32,9 @@ public class FrontApplication implements CommandLineRunner {
|
||||||
SpringApplication.run(FrontApplication.class, args);
|
SpringApplication.run(FrontApplication.class, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
// @Override
|
||||||
public void run(String... args) throws Exception {
|
// public void run(String... args) throws Exception {
|
||||||
//启动websocket服务
|
// //启动websocket服务
|
||||||
new Thread(nettyWebsocketServer).start();
|
// new Thread(nettyWebsocketServer).start();
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue