From 3aeaa3fab7c51bde0161e4d6a88fa075a5c21d8f 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}`,