Browse Source

【优化】修改对话Id类型

cherishsince 1 năm trước cách đây
mục cha
commit
934d5e7ca8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/api/ai/chat/message/index.ts

+ 1 - 1
src/api/ai/chat/message/index.ts

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