quanwei
18 hours ago c441dea81bd86bdfb12dff35821fed51f4cc91c2
mobile/pages/plus/business/chat/chat.vue
@@ -238,6 +238,7 @@
         }else{
            // 加载消息
            this.loadMessages();
            this.initWebSocket();
         }
         
      },
@@ -374,7 +375,7 @@
            const currentUserId = this.currentUser.user_id;
            // 构建WebSocket连接URL - 使用名片聊天专用端口2349
            const wsUrl = `${this.wsUrl}:2349?user_id=${currentUserId}`;
            const wsUrl = `${this.wsUrl}:2349?user_id=${currentUserId}&usertype=supplier `;
            try {
               // 创建WebSocket连接
               this.socketTask = uni.connectSocket({