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