This commit is contained in:
linfso 2025-01-01 21:49:25 +08:00
parent b0694f39c3
commit f4b1844d38

View File

@ -107,8 +107,8 @@ class XDNoticeSdk {
if (!this.ws || this.getWSReadyState() === this.WS_CLOSING || this.getWSReadyState() === this.WS_CLOSE) {
try {
// wss://api.emis.tanex56.com/api/bizsvr/ws/123
this.ws = new WebSocket(this.WS_URL+""+this.userId);
// wss://api.emis.tanex56.com/api/bizsvr/ws/123/pc
this.ws = new WebSocket(this.WS_URL+""+this.userId+"/pc");
this.ws.onerror = () => {
// console.log("ws onerror!");