Skip to content

Commit 3ec5783

Browse files
authored
Update 10010.cookie.js
1 parent 6b9688f commit 3ec5783

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎10010/10010.cookie.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ if ($request && $request.method != 'OPTIONS' && $request.url.indexOf('querySigni
2323
chavy.msg(cookieName, `获取Cookie: 成功 (每日签到)`, ``)
2424
} else if ($request && $request.method != 'OPTIONS' && $request.url.indexOf('userLogin') >= 0) {
2525
const loginlotteryurlVal = $request.url
26-
var loginlotteryheaderVal = $request.headers
27-
if (loginlotteryheaderVal.hasOwnProperty('Content-Length')) delete loginlotteryheaderVal['Content-Length']
28-
loginlotteryheaderVal = JSON.stringify(loginlotteryheaderVal)
26+
const loginlotteryheaderVal = JSON.stringify($request.headers)
2927
if (loginlotteryurlVal) chavy.setdata(loginlotteryurlVal, loginlotteryurlKey)
3028
if (loginlotteryheaderVal) chavy.setdata(loginlotteryheaderVal, loginlotteryheaderKey)
3129
chavy.msg(cookieName, `获取Cookie: 成功 (登录抽奖)`, ``)

0 commit comments

Comments
 (0)