From 4cb70847222ce06fd20ed2a348def384216fc0ba Mon Sep 17 00:00:00 2001 From: "ZM.J" Date: Mon, 23 Sep 2024 19:53:33 +0800 Subject: [PATCH] Fix role combat query (#802) --- apps/stat/RoleCombatSummary.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/stat/RoleCombatSummary.js b/apps/stat/RoleCombatSummary.js index 05c7fb2b..c77637e4 100644 --- a/apps/stat/RoleCombatSummary.js +++ b/apps/stat/RoleCombatSummary.js @@ -7,7 +7,8 @@ export async function RoleCombatSummary (e) { if (!Cfg.get('roleCombat', false) && !isMatch) { return false } - let mys = await MysApi.init(e, 'all') + // 需要自身 ck 查询 + let mys = await MysApi.init(e, 'cookie') if (!mys || !mys.uid) { if (isMatch) { e.reply(`请绑定ck后再使用${e.original_msg || e.msg}`)