From 33af254ca4c722aaa66492bcc5c904cc1d6cab44 Mon Sep 17 00:00:00 2001 From: Ctrlcvs <1509167646@qq.com> Date: Fri, 19 Aug 2022 17:51:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/sign.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sign.js b/apps/sign.js index 86aee8a..c8144eb 100644 --- a/apps/sign.js +++ b/apps/sign.js @@ -123,7 +123,7 @@ export async function mysSign(e) { let iscount = ""; let miHoYoApi = new MihoYoApi(e); let stokens=await miHoYoApi.getStoken(e.user_id) - if (Object.keys(stokens).length>0) { + if (Object.keys(stokens).length==0) { e.reply("未读取到stoken请检查cookies是否包含login_ticket、以及云崽是否为最新版本V3、V2兼容") return true; } @@ -233,7 +233,7 @@ export async function bbsSeach(e){ } let miHoYoApi = new MihoYoApi(e); let stokens=await miHoYoApi.getStoken(e.user_id) - if (Object.keys(stokens).length>0) { + if (Object.keys(stokens).length==0) { let cookiesDoc = await getcookiesDoc() await replyMsg(e, "未读取到stoken请检查cookies是否包含login_ticket,请先绑定stoken再查询~\n"+cookiesDoc); return true;