mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
feat: 添加更多评分
This commit is contained in:
parent
f81ecd8ae2
commit
63fc4da9be
4 changed files with 257 additions and 42 deletions
|
|
@ -64,7 +64,7 @@ export const getAuthKey = async (e, _user, zzzUid, authAppid = 'csc') => {
|
|||
'获取cookie失败,请确认绑定了cookie或者查询的UID是否与cookie对应,请确认bot所使用的是绝区零UID'
|
||||
);
|
||||
}
|
||||
if (uidData.ltuid !== ck.stuid) {
|
||||
if (String(uidData.ltuid) !== String(ck.stuid)) {
|
||||
throw new Error(
|
||||
`当前UID${zzzUid}查询所使用的米游社ID${ck.stuid}与当前切换的米游社ID${uidData.ltuid}不匹配,请切换UID后尝试`
|
||||
);
|
||||
|
|
@ -91,6 +91,7 @@ export const getAuthKey = async (e, _user, zzzUid, authAppid = 'csc') => {
|
|||
});
|
||||
// 获取数据
|
||||
res = await res.json();
|
||||
logger.debug(`[zzz:authkey]`, res);
|
||||
// 返回 authkey
|
||||
return res?.data?.authkey;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue