2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-23 03:20:52 +08:00

对于异常进行捕捉

This commit is contained in:
Ctrlcvs 2022-08-31 23:43:11 +08:00
parent 36a300bb28
commit 100809761d

View File

@ -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',