From 3b4e2ca53493a20790f3b91c985ebfe62ac5139b Mon Sep 17 00:00:00 2001 From: lxk0301 <778732665@qq.com> Date: Wed, 2 Dec 2020 12:26:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=81=E9=B9=85=E9=98=85?= =?UTF-8?q?=E8=AF=BB=EF=BC=8C=E4=BA=91=E7=AB=AFNode.js=E4=B8=93=E7=94=A8?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backUp/mySelf.boxjs.json | 10 +--------- backUp/qqread.js | 4 ++-- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/backUp/mySelf.boxjs.json b/backUp/mySelf.boxjs.json index c1b65db0..d7d99845 100644 --- a/backUp/mySelf.boxjs.json +++ b/backUp/mySelf.boxjs.json @@ -14,15 +14,7 @@ "qqreadtimeurl1", "qqreadtimehd1" ], - "settings": [ - { - "id": "qqreadurl1", - "name": "qqreadurl1", - "val": "https://mqqapi.reader.qq.com/mqq/user/init", - "type": "text", - "desc": "" - } - ], + "settings": [], "author": "@ziye12", "repo": "https://github.com/ziye12/JavaScript ", "icons": [ diff --git a/backUp/qqread.js b/backUp/qqread.js index 6d9f27fe..add95922 100644 --- a/backUp/qqread.js +++ b/backUp/qqread.js @@ -75,7 +75,7 @@ const maxtime = 20//每日上传时长限制,默认20小时 const wktimess = 1200//周奖励领取标准,默认1200分钟 var tz = '' const qqreadurlVal = `https://mqqapi.reader.qq.com/mqq/user/init`; -// const qqreadurlKey = 'qqreadurl' + jbid +const qqreadurlKey = 'qqreadurl' + jbid // const qqreadurlVal = $.getdata(qqreadurlKey) const qqreadheaderKey = 'qqreadhd' + jbid @@ -174,7 +174,7 @@ function GetCookie() { // if (qqreadbodyVal) $.setdata(qqreadbodyVal, qqreadbodyKey) // $.log(`[${jsname}] 获取阅读: 成功,qqreadbodyVal: ${qqreadbodyVal}`) - + $.setdata(qqreadurlVal, qqreadurlKey); const qqreadheaderVal = JSON.stringify($request.headers) if (qqreadheaderVal) $.setdata(qqreadheaderVal, qqreadheaderKey) $.log(`[${jsname}] 获取Cookie: 成功,qqreadheaderVal: ${qqreadheaderVal}`)