From dbca077f3150e975bebfab59fef0e21e191f626b Mon Sep 17 00:00:00 2001 From: cherishsince Date: Thu, 16 May 2024 23:20:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=AF=B9=E8=AF=9DId=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ai/chat/conversation/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/ai/chat/conversation/index.ts b/src/api/ai/chat/conversation/index.ts index 683646ea..b363ea7b 100644 --- a/src/api/ai/chat/conversation/index.ts +++ b/src/api/ai/chat/conversation/index.ts @@ -2,7 +2,7 @@ import request from '@/config/axios' // AI 聊天会话 VO export interface ChatConversationVO { - id: number // ID 编号 + id: string // ID 编号 userId: number // 用户编号 title: string // 会话标题 pinned: boolean // 是否置顶 @@ -23,7 +23,7 @@ export interface ChatConversationVO { // AI 聊天会话 API export const ChatConversationApi = { // 获得【我的】聊天会话 - getChatConversationMy: async (id: number) => { + getChatConversationMy: async (id: string) => { return await request.get({ url: `/ai/chat/conversation/get-my?id=${id}` }) }, @@ -38,7 +38,7 @@ export const ChatConversationApi = { }, // 删除【我的】聊天会话 - deleteChatConversationMy: async (id: number) => { + deleteChatConversationMy: async (id: string) => { return await request.delete({ url: `/ai/chat/conversation/delete-my?id=${id}` }) },