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}`,