From 100809761d04c70517a9e56b03b9403acc2e1675 Mon Sep 17 00:00:00 2001 From: Ctrlcvs <1509167646@qq.com> Date: Wed, 31 Aug 2022 23:43:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E4=BA=8E=E5=BC=82=E5=B8=B8=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E6=8D=95=E6=8D=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/user.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/user.js b/apps/user.js index b8d0c4f..ebcf038 100644 --- a/apps/user.js +++ b/apps/user.js @@ -72,6 +72,10 @@ export async function gclog(e) { let data = objData.data e.region = e.uid[0] == 5 ? "cn_qd01" : "cn_gf01" let authkeyrow = await miHoYoApi.authkey(data); + if(!authkeyrow?.data){ + e.reply("authkey获取失败:"+authkeyrow.message) + return true; + } let authkey=authkeyrow.data["authkey"] let postdata = { 'authkey_ver': '1',