From bd7469f7fa25a0ac3cf08ec5ccb8e52727478f31 Mon Sep 17 00:00:00 2001 From: al Date: Fri, 27 Dec 2024 13:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E9=99=A4console=20log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/auth.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/utils/auth.js b/utils/auth.js index 5bc3157..698e970 100644 --- a/utils/auth.js +++ b/utils/auth.js @@ -62,7 +62,6 @@ export async function checkRole() { const account = get("account"); const userInfo = await getUserInfo(account.mid); - console.log("account", account.mid); if (userInfo) { if (userInfo.is_a_member !== account) { save("account", userInfo); @@ -71,6 +70,5 @@ export async function checkRole() { const role = userInfo?.role; const isVip = userInfo?.is_a_member; - console.log(role, isVip, userInfo); return role !== 0 || isVip === 1; }