From 1b0745638a3a6f1084af5ffbb45a0135ad0dc04c Mon Sep 17 00:00:00 2001 From: smallfawn <101914820+smallfawn@users.noreply.github.com> Date: Tue, 29 Aug 2023 19:40:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AC=E5=A3=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复bug --- yingsheng.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yingsheng.js b/yingsheng.js index 36a77ba..a247d2d 100644 --- a/yingsheng.js +++ b/yingsheng.js @@ -81,7 +81,7 @@ class UserInfo { var f = convertObjectToString(l) - if(type == "android") { + if (type == "android") { f += "cnry8k3o4WdCGU1Tq09cRVOPCnfJzt7p" } var h = crypto.createHash("sha1"), @@ -217,7 +217,7 @@ class UserInfo { let options = { url: `https://ysapi.elecfans.com/api/video/publish/thumbsup`, headers: this.getHeaders_ANDROID(data), - body: JSON.stringify(data) + body: `type=1&video_id=27679` }, result = await httpRequest(options); //console.log(options);