From 6f0a4131a24fe719b6b11035efac588d87ad5db3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Fri, 13 Dec 2024 22:03:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- napcat.webui/src/backend/shell.ts | 2 +- src/core/services/NodeIKernelMsgService.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/napcat.webui/src/backend/shell.ts b/napcat.webui/src/backend/shell.ts index dab3f86e..941f55fc 100644 --- a/napcat.webui/src/backend/shell.ts +++ b/napcat.webui/src/backend/shell.ts @@ -23,7 +23,7 @@ export class QQLoginManager { if (ConfigResponse.status == 200) { const ConfigResponseJson = await ConfigResponse.json(); if (ConfigResponseJson.code == ResponseCode.Success) { - return ConfigResponseJson; + return ConfigResponseJson.data; } } } catch (error) { diff --git a/src/core/services/NodeIKernelMsgService.ts b/src/core/services/NodeIKernelMsgService.ts index 7214432e..6776998c 100644 --- a/src/core/services/NodeIKernelMsgService.ts +++ b/src/core/services/NodeIKernelMsgService.ts @@ -4,6 +4,7 @@ import { GeneralCallResult } from '@/core/services/common'; import { MsgReqType, QueryMsgsParams, TmpChatInfoApi } from '@/core/types/msg'; export interface NodeIKernelMsgService { + buildMultiForwardMsg(req: { srcMsgIds: Array, srcContact: Peer }): Promise; generateMsgUniqueId(chatType: number, time: string): string;