Skip to content

Commit e4f89aa

Browse files
author
ziye66666
authored
Update QQread.js
1 parent 0f5bd6d commit e4f89aa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎Task/QQread.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ async function all() {
254254
"ywkey": `${ywkey}`,
255255
"qimei": "",
256256
"auditStatus": "0",
257-
"Host": "iostgw6.reader.qq.com",
257+
"Host": "commontgw6.reader.qq.com",
258258
"ywguid": `${ywguid}`,
259259
"Cache-Control": "no-cache",
260260
"server_sex": "1",
@@ -310,7 +310,7 @@ function user(timeout = 0) {
310310
return new Promise((resolve) => {
311311
setTimeout(() => {
312312
let url = {
313-
url: QQreadurlVal,
313+
url: `https://commontgw6.reader.qq.com/v7_5_7/nativepage/getAcctInfo`,
314314
headers: QQreadheaderVal,
315315

316316
}
@@ -319,8 +319,8 @@ function user(timeout = 0) {
319319
if (logs) $.log(`${O}, 用户信息🚩: ${data}`);
320320
$.user = JSON.parse(data);
321321
if ($.user.code == 0) {
322-
console.log(`\n${O}\n========== 【${$.user.nickname}】 ==========\n`);
323-
$.message += `\n${O}\n========== 【${$.user.nickname}】 ==========\n`;
322+
console.log(`\n${O}\n========== 【${$.user.nick}】 ==========\n`);
323+
$.message += `\n${O}\n========== 【${$.user.nick}】 ==========\n`;
324324
}
325325
} catch (e) {
326326
$.logErr(e, resp);

0 commit comments

Comments
 (0)