diff --git a/apps/user.js b/apps/user.js index 1120d9e..b1c5ce9 100644 --- a/apps/user.js +++ b/apps/user.js @@ -56,8 +56,8 @@ export async function userInfo(e, { } let ck = ""; if (e.cookie) { - ck = user.getCookieMap(e.cookie); - ck = ck.get("ltuid") + ck =await utils.getCookieMap(e.cookie); + ck = ck?.get("ltuid") } return await Common.render(`user/userInfo`, { uid: e.user_id,