修复了一些逻辑漏洞

This commit is contained in:
2025-12-05 16:21:27 +08:00
parent 594656289f
commit 02e885fbfe
6 changed files with 316 additions and 64 deletions

View File

@@ -34,4 +34,9 @@ export function deleteConversation(targetId: string) {
})
}
// 根据 room_id 获取或创建会话
export function getConversationByRoom(roomId: string) {
return request.get<Conversation>(`/conversations/by-room/${roomId}`)
}