提交
This commit is contained in:
parent
442c759216
commit
c429203106
@ -18,8 +18,8 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||||||
@Component
|
@Component
|
||||||
public class DeviceWebSocketHandler extends TextWebSocketHandler {
|
public class DeviceWebSocketHandler extends TextWebSocketHandler {
|
||||||
|
|
||||||
@Autowired @Lazy private
|
@Autowired @Lazy
|
||||||
ThirdPartyWebSocketClient thirdPartyClient;
|
private ThirdPartyWebSocketClient thirdPartyClient;
|
||||||
|
|
||||||
// 存储所有活跃的WebSocket会话,键为会话ID
|
// 存储所有活跃的WebSocket会话,键为会话ID
|
||||||
private final ConcurrentHashMap<String, WebSocketSession> sessions = new ConcurrentHashMap<>();
|
private final ConcurrentHashMap<String, WebSocketSession> sessions = new ConcurrentHashMap<>();
|
||||||
|
@ -110,7 +110,7 @@ weChat:
|
|||||||
# socket地址
|
# socket地址
|
||||||
thirdparty:
|
thirdparty:
|
||||||
ws:
|
ws:
|
||||||
url: ws://127.0.0.1:8000/websocket
|
url: ws://127.0.0.1:3030/websocket
|
||||||
|
|
||||||
# 文件存储路径
|
# 文件存储路径
|
||||||
file:
|
file:
|
||||||
|
Loading…
Reference in New Issue
Block a user