mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-14 09:38:13 +08:00
♻️ 返回完整数据
This commit is contained in:
@@ -355,7 +355,7 @@ class TGClient {
|
||||
const user = useUserStore();
|
||||
const cookieToken = user.cookie.cookie_token;
|
||||
const accountId = user.cookie.account_id;
|
||||
const userInfo = await TGRequest.User.byCookie.getUserInfo(cookieToken, accountId, true);
|
||||
const userInfo = await TGRequest.User.byCookie.getUserInfo(cookieToken, accountId);
|
||||
if ("retcode" in userInfo) {
|
||||
console.error(`[${callback}] ${userInfo.message}`);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user