Commit a9aaac39e886332319690aab7dc6df340850d9a1
1 parent
b77a52a4
commit 增加webSocket
Showing
1 changed file
with
2 additions
and
5 deletions
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/websocket/WebSocketConfig.java
| ... | ... | @@ -6,14 +6,11 @@ import org.springframework.web.socket.server.standard.ServerEndpointExporter; |
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * websocket 配置 |
| 9 | - * | |
| 10 | 9 | */ |
| 11 | 10 | @Configuration |
| 12 | -public class WebSocketConfig | |
| 13 | -{ | |
| 11 | +public class WebSocketConfig { | |
| 14 | 12 | @Bean |
| 15 | - public ServerEndpointExporter serverEndpointExporter() | |
| 16 | - { | |
| 13 | + public ServerEndpointExporter serverEndpointExporter() { | |
| 17 | 14 | return new ServerEndpointExporter(); |
| 18 | 15 | } |
| 19 | 16 | } | ... | ... |