cjl
2023-08-28 65c692a8174659c446384bcfeb967ce62600d58c
screen-api/src/main/java/com/moral/api/config/websocket/WebSocketConfig.java
@@ -1,20 +1,24 @@
/*
package com.moral.api.config.websocket;
import com.moral.api.websocket.SingleDeviceServer;
import com.moral.constant.RedisConstants;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
*/
/**
 * @ClassName WebSocketConfig
 * @Description TODO
 * @Author 陈凯裕
 * @Date 2021/6/15 13:53
 * @Version TODO
 **/
 **//*
@Configuration
public class WebSocketConfig {
@@ -26,5 +30,8 @@
    @Autowired
    public void setMessageService(RedisTemplate redisTemplate){
        SingleDeviceServer.redisTemplate = redisTemplate;
        CruiserWebSocketServer.redisTemplate = redisTemplate;
    }
}
*/