mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-22 19:10:53 +08:00
修正自动签到报错
This commit is contained in:
parent
b3743669de
commit
03883430a1
@ -313,8 +313,8 @@ async function getCookie(e) {
|
||||
let skuid, cookie, uid
|
||||
if (isV3) {
|
||||
skuid = await gsCfg.getBingCookie(e.user_id);
|
||||
cookie = skuid.ck;
|
||||
uid = skuid.item;
|
||||
cookie = skuid?.ck;
|
||||
uid = skuid?.item;
|
||||
} else {
|
||||
if (NoteCookie[e.user_id]) {
|
||||
cookie = NoteCookie[e.user_id].cookie;
|
||||
|
@ -124,8 +124,8 @@ export default class user {
|
||||
let skuid, cookie, uid
|
||||
if (isV3) {
|
||||
skuid = await gsCfg.getBingCookie(e.user_id);
|
||||
cookie = skuid.ck;
|
||||
uid = skuid.item;
|
||||
cookie = skuid?.ck;
|
||||
uid = skuid?.item;
|
||||
} else {
|
||||
if (NoteCookie[e.user_id]) {
|
||||
cookie = NoteCookie[e.user_id].cookie;
|
||||
|
Loading…
Reference in New Issue
Block a user