mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-23 03:20:52 +08:00
fix:修正ck查询报错
This commit is contained in:
parent
f951174426
commit
dde5ab4561
@ -56,8 +56,8 @@ export async function userInfo(e, {
|
|||||||
}
|
}
|
||||||
let ck = "";
|
let ck = "";
|
||||||
if (e.cookie) {
|
if (e.cookie) {
|
||||||
ck = user.getCookieMap(e.cookie);
|
ck =await utils.getCookieMap(e.cookie);
|
||||||
ck = ck.get("ltuid")
|
ck = ck?.get("ltuid")
|
||||||
}
|
}
|
||||||
return await Common.render(`user/userInfo`, {
|
return await Common.render(`user/userInfo`, {
|
||||||
uid: e.user_id,
|
uid: e.user_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user