From 5bc2cfba0f48efb6253415c0b9c83ffa4237c3f0 Mon Sep 17 00:00:00 2001 From: TomyJan Date: Sat, 29 Jun 2024 16:07:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=82=BB=E9=80=BC=E5=BA=93=E6=B4=9B?= =?UTF-8?q?=E4=BD=A0=E5=9C=A8=E5=B9=B2=E4=BB=80=E4=B9=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/gameEnergy.js | 4 ++-- model/kuroApiHandler.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/model/gameEnergy.js b/model/gameEnergy.js index b78e3f4..00cb11e 100644 --- a/model/gameEnergy.js +++ b/model/gameEnergy.js @@ -186,8 +186,8 @@ export async function doMcEnergy(uin, kuro_uid) { continue } doMcSignInRet += ` ${formatTimestampInReadableFormat( - rsp_getMcWidgetData.data.actionData.refreshTimeStamp - )}回满 (${rsp_getMcWidgetData.data.actionData.value})\n` + rsp_getMcWidgetData.data.energyData.refreshTimeStamp + )}回满 (${rsp_getMcWidgetData.data.energyData.cur}/${rsp_getMcWidgetData.data.energyData.total})\n` await sleepAsync(getRandomInt(100, 600)) } diff --git a/model/kuroApiHandler.js b/model/kuroApiHandler.js index c500573..4650305 100644 --- a/model/kuroApiHandler.js +++ b/model/kuroApiHandler.js @@ -79,12 +79,12 @@ export default class kuroApiHandler { }, getPnsWidgetData: { // 取战双小组件数据 - url: `${this.kuroEvtApiUrl}/gamer/widget/game2/getData`, + url: `${this.kuroApiUrl}/gamer/widget/game2/getData`, body: `gameId=${data.gameId}&roleId=${data.roleId}&serverId=${data.serverId}&type=${data.type}`, }, getMcWidgetData: { // 取鸣潮小组件数据 - url: `${this.kuroEvtApiUrl}/gamer/widget/game3/getData`, + url: `${this.kuroApiUrl}/gamer/widget/game3/getData`, body: `gameId=${data.gameId}&roleId=${data.roleId}&serverId=${data.serverId}&type=${data.type}&sizeType=${data.sizeType}`, }, initSignInV2: {