Skip to content

Commit 044c37e

Browse files
committed
1 parent 35fcbf3 commit 044c37e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Task/txnews.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,10 @@ function Redpack() {
329329
setTimeout(()=>{
330330
const cashUrl = {
331331
url: `${TX_HOST}activity/redpack/get?isJailbreak=0&${ID}`,
332-
headers: {Cookie: cookieVal},
332+
headers: {Cookie:cookieVal,"Content-Type": "application/x-www-form-urlencoded","User-Agent": "QQNews/6.3.40 (iPhone; iOS 14.2; Scale/3.00)"},
333333
body: redbody
334334
}
335+
335336
$.post(cashUrl, (error, response, data) => {
336337
let rcash = JSON.parse(data)
337338
console.log(data)

0 commit comments

Comments
 (0)