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; }