【增加】清空 Chat 对话

This commit is contained in:
cherishsince
2024-05-16 12:09:39 +08:00
parent f21991f4fc
commit 36beffe140
3 changed files with 28 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ export interface ChatMessageSendVO {
// AI chat 聊天
export const ChatMessageApi = {
// 消息列表
messageList: async (conversationId: number) => {
messageList: async (conversationId: number | null) => {
return await request.get({
url: `/ai/chat/message/list-by-conversation-id?conversationId=${conversationId}`
})