diff --git a/index.js b/index.js index 6822d4d..221e5ae 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,9 @@ function tongzhi(info,type){ ### [地址](${baseurl + info.url}) ${new Date().toString()} ` - + if (JSON.stringify(data) === '{}') { + 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)=>{