Update jlqc.js

This commit is contained in:
smallfawn
2023-01-21 22:03:10 +08:00
committed by GitHub
parent ed67a83e2b
commit b7edb91bda

View File

@@ -248,7 +248,9 @@ class UserInfo {
try { try {
let commentTxt = this.commentTxt, let commentTxt = this.commentTxt,
ts = Number(ts10()), ts = Number(ts10()),
sign = await this.sign(commentTxt, artid, ts) randomNum = randomInt(0, 100),
urlpath = 'https://app.geely.com/apis/api/v2/comment/publisherComment',
sign = await this.sign(commentTxt, artid, ts, randomNum, urlpath)
const options = { const options = {
url: 'https://app.geely.com/apis/api/v2/comment/publisherComment', url: 'https://app.geely.com/apis/api/v2/comment/publisherComment',
headers: { headers: {