From f07450c7605e313dd6b669bf87c52c13c96f5743 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Wed, 23 Sep 2020 09:54:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 70239e3..dbae2f9 100644 --- a/index.js +++ b/index.js @@ -12,10 +12,7 @@ function tongzhi(info,type){ ### [地址](${baseurl + info.url}) ${new Date().toString()} ` - if (JSON.stringify(buglist) === '{}') { - - return ; - } + console.log({text:title,desp:data}) // console.log(`https://sc.ftqq.com/SCU48648T7fd03646ac5b5ea64eabc66150de705a5cb02e1c89ca0.send?text=${title}&desp=${data}`) axios.post(`https://sc.ftqq.com/SCU48648T7fd03646ac5b5ea64eabc66150de705a5cb02e1c89ca0.send`,`text=${title}&desp=${data}`).then((res)=>{ @@ -54,7 +51,7 @@ function jiexi(html){ function getHtml(){ axios.get("http://ztnew.sdbairui.com/bug-browse-3-0-unresolved-0-id_desc-2-2000.html",{headers:{Cookie: 'lang=zh-cn; device=desktop; theme=default; keepLogin=on; za=xuebaoxin; preBranch=0; preProductID=3; lastProduct=3; windowWidth=1901; windowHeight=916; pagerBugBrowse=2000; qaBugOrder=id_asc; zentaosid=f05h8p09hoabg0m3a4vaksshhm; zp=2a74a2498be1d8c415d5b3dd761e4fdc7ab27cc8'}}).then((res)=>{ - // console.log(res.data) + console.log(res.data) let html = res.data; jiexi(html) })