From cf560909e7ef34fd389d16b38fc64707c32fdee9 Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Thu, 1 Jan 2026 01:06:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20getMessageHistory=20=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/api/ChatApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/ChatApi.ts b/server/api/ChatApi.ts index 8b31771..d5c08f5 100644 --- a/server/api/ChatApi.ts +++ b/server/api/ChatApi.ts @@ -91,7 +91,7 @@ export default class ChatApi extends BaseApi { msg: "参数缺失", code: 400, } - if (!args.page && !args.offset) return { + if (args.page == null && args.offset == null) return { msg: "参数缺失", code: 400, }