-
懒羊羊
2024-04-08 b5fcd8d51443fda9e7506f31d157e6faa7e1d56c
提交 | 用户 | 时间
e57a89 1 package com.jcdm.framework.websocket;
2
3 import org.springframework.context.annotation.Bean;
4 import org.springframework.context.annotation.Configuration;
5 import org.springframework.web.socket.server.standard.ServerEndpointExporter;
6
7 /**
8  * websocket 配置
9  * 
10  * @author ruoyi
11  */
12 @Configuration
13 public class WebSocketConfig
14 {
15     @Bean
16     public ServerEndpointExporter serverEndpointExporter()
17     {
18         return new ServerEndpointExporter();
19     }
20 }