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
36a300bb28
commit
100809761d
@ -72,6 +72,10 @@ export async function gclog(e) {
|
|||||||
let data = objData.data
|
let data = objData.data
|
||||||
e.region = e.uid[0] == 5 ? "cn_qd01" : "cn_gf01"
|
e.region = e.uid[0] == 5 ? "cn_qd01" : "cn_gf01"
|
||||||
let authkeyrow = await miHoYoApi.authkey(data);
|
let authkeyrow = await miHoYoApi.authkey(data);
|
||||||
|
if(!authkeyrow?.data){
|
||||||
|
e.reply("authkey获取失败:"+authkeyrow.message)
|
||||||
|
return true;
|
||||||
|
}
|
||||||
let authkey=authkeyrow.data["authkey"]
|
let authkey=authkeyrow.data["authkey"]
|
||||||
let postdata = {
|
let postdata = {
|
||||||
'authkey_ver': '1',
|
'authkey_ver': '1',
|
||||||
|
Loading…
Reference in New Issue
Block a user