From 28338aa99ebe41af4b734a4ffb5e9aeb5c52cc36 Mon Sep 17 00:00:00 2001 From: lxk0301 <778732665@qq.com> Date: Wed, 9 Dec 2020 18:16:49 +0800 Subject: [PATCH] update --- jd_pubg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jd_pubg.js b/jd_pubg.js index ed8b4122..4459bd82 100644 --- a/jd_pubg.js +++ b/jd_pubg.js @@ -414,7 +414,7 @@ function taskUrl(function_id, body = {}) { 'cache-control': 'no-cache', "origin": "https://starsingle.m.jd.com", 'Content-Type': 'application/x-www-form-urlencoded', - 'dnt': 1, + 'dnt': '1', 'pragma': 'no-cache', 'referer': 'https://starsingle.m.jd.com/static/index.html', 'timestamp': `${t}`, @@ -437,7 +437,7 @@ function taskPostUrl(body = "{}", functionId = 'doTask') { 'cache-control': 'no-cache', "origin": "https://starsingle.m.jd.com", 'Content-Type': 'application/x-www-form-urlencoded', - 'dnt': 1, + 'dnt': '1', 'pragma': 'no-cache', 'referer': 'https://starsingle.m.jd.com/static/index.html', 'timestamp': `${t}`,