mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-22 19:10:53 +08:00
fix:修正ck查询报错
This commit is contained in:
parent
f951174426
commit
dde5ab4561
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user