于紫祥_1901
2020-11-18 dc58bb3332a52b945c9ec4d41ccfe3aa34c57c3e
src/main/java/com/moral/config/WebSocketConfig.java
@@ -11,13 +11,12 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
@Configuration
public class WebSocketConfig {
    //本地测试需要将注释解开
   /* @Bean
    /*@Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }*/