From 836be42e231e30d4d76e5b02666ceb5dea328ec3 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Thu, 17 Mar 2022 14:35:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8D=81=E5=A0=B0=E5=A4=B4?= =?UTF-8?q?=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sytt/sytt.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sytt/sytt.js b/sytt/sytt.js index 0991414..867273d 100644 --- a/sytt/sytt.js +++ b/sytt/sytt.js @@ -361,8 +361,8 @@ function tzid(timeout = 0) { // console.log(`输出data结束===================`); result = JSON.parse(data); for (let n = 0; n < 3; n++) { - tzid = result.data[n].id - console.log(`开始回帖:id=${tzid}`) + tzid1 = result.data[n].id + console.log(`开始回帖:id=${tzid1}`) await tzpl(); console.log(`延迟5秒`) await $.wait(5 * 1000); @@ -381,7 +381,7 @@ function tzid(timeout = 0) { // 帖子发布评论 function tzpl(timeout = 0) { var axios = require('axios'); - var data = `content=%E5%A4%AA%E6%BC%82%E4%BA%AE%E4%BA%86%E9%B8%AD&pid=${tzid}&uid=${uid}&source=android&ver=6.2.3&build=145` + var data = `content=%E5%A4%AA%E6%BC%82%E4%BA%AE%E4%BA%86%E9%B8%AD&pid=${tzid1}&uid=${uid}&source=android&ver=6.2.3&build=145` var config = { method: 'post', url: 'https://app.site.10yan.com.cn/index.php?s=/Api/Dynamic/reply',