From 0c53e71af69f1baa19b7260db4e711c594fef837 Mon Sep 17 00:00:00 2001 From: UCPr <2032385471@qq.com> Date: Thu, 24 Jul 2025 00:20:35 +0800 Subject: [PATCH] =?UTF-8?q?`%=E6=9B=B4=E6=96=B0=E5=B1=95=E6=9F=9C=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF`=E4=BB=85=E5=9C=A8=E6=9B=B4=E6=96=B0=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E6=97=B6=E8=AE=BE=E7=BD=AE=E5=86=B7=E5=8D=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/panel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/panel.js b/apps/panel.js index 8d747aa..2175a9d 100644 --- a/apps/panel.js +++ b/apps/panel.js @@ -72,8 +72,8 @@ export class Panel extends ZZZPlugin { logger.warn(`Enka服务调用失败:`, data) return this.reply(`Enka服务调用失败:${data.message}`) } - await redis.set(`ZZZ:PANEL:${uid}:LASTTIME`, Date.now()) if (typeof data === 'object') { + await redis.set(`ZZZ:PANEL:${uid}:LASTTIME`, Date.now()) const { playerInfo, panelList } = data if (!panelList.length) { return this.reply('面板列表为空,请确保已于游戏中展示角色')