fix: 聊天(已实现图文消息对话)

This commit is contained in:
2025-07-25 15:59:33 +08:00
parent 866d9ae083
commit 53c29e93a6
12 changed files with 539 additions and 306 deletions

View File

@@ -107,7 +107,7 @@ export class WebSocketManager {
handleMessage(data) {
// 如果对象中有clientId则给websocket发送
if (data.clientId) {
const userId = '252'; // 实际项目中从存储获取
const userId = uni.getStorageSync('user_id'); // 实际项目中从存储获取
const bindMessage = {
request_type: 'bind',
user_type: 'user',