From 6ef8ff14387f7eac903034db984fcc854814b8ef Mon Sep 17 00:00:00 2001 From: chen wei bo <1025839511@qq.com> Date: Wed, 17 Sep 2025 14:35:31 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=A1=A8=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xchat_cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xchat_cfg b/xchat_cfg index e0e87636..22b55434 160000 --- a/xchat_cfg +++ b/xchat_cfg @@ -1 +1 @@ -Subproject commit e0e87636bd86aa4c9fe5850ba2ef116e4d38e45c +Subproject commit 22b5543445ba6980b952dd4f224c8ec1cdacb402 From b5f664cbc211fe5af29bff5b60f0ab1b03e28bf2 Mon Sep 17 00:00:00 2001 From: chen wei bo <1025839511@qq.com> Date: Wed, 17 Sep 2025 16:09:39 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=81=8A=E5=A4=A9=E5=8D=8F=E8=AE=AE?= =?UTF-8?q?=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Scripts/chat18x/core/ChatAIService.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/Scripts/chat18x/core/ChatAIService.ts b/assets/Scripts/chat18x/core/ChatAIService.ts index f6f097b5..582e2276 100644 --- a/assets/Scripts/chat18x/core/ChatAIService.ts +++ b/assets/Scripts/chat18x/core/ChatAIService.ts @@ -210,11 +210,13 @@ export class ChatAIService { let userData = { isAi: false, msg: message, + msgId: new Date().getTime(), }; msgList.push(userData); let aiData = { isAi: true, msg: response.text, + msgId: new Date().getTime() + 1, }; msgList.push(aiData); this.reqChatMsg(roleId, msgList); @@ -314,8 +316,7 @@ export class ChatAIService { // 请求数据 const reqData = { girlId, - ChatMsg: msgList, - msgId: new Date().getTime(), + msgs: msgList, }; console.log("请求上报聊天数据的请求数据:", reqData); let res = await ChatService.I.reqChatMsg(reqData);