修复bug
This commit is contained in:
smallfawn 2023-08-29 19:40:47 +08:00 committed by GitHub
parent 33ab2eea52
commit 1b0745638a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);