From a0c6ba5ac048b198236f24f4c4be3c02502296db Mon Sep 17 00:00:00 2001 From: HibiKier <775757368@qq.com> Date: Thu, 24 Oct 2024 16:27:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AC=20=E6=9B=B4=E6=96=B0=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=A3=80=E6=9F=A5=E6=97=A5=E5=BF=97=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zhenxun/builtin_plugins/hooks/_auth_checker.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zhenxun/builtin_plugins/hooks/_auth_checker.py b/zhenxun/builtin_plugins/hooks/_auth_checker.py index 8b6bdc63..0f50a1b4 100644 --- a/zhenxun/builtin_plugins/hooks/_auth_checker.py +++ b/zhenxun/builtin_plugins/hooks/_auth_checker.py @@ -235,7 +235,10 @@ class AuthChecker: return if plugin := await PluginInfo.get_or_none(module_path=module_path): if plugin.plugin_type == PluginType.HIDDEN: - logger.debug("插件为HIDDEN,已跳过...") + logger.debug( + f"插件: {plugin.name}:{plugin.module} " + "为HIDDEN,已跳过权限检查..." + ) return try: cost_gold = await self.auth_cost(user, plugin, session)