From 09c845eff649429369df3abffca36bc1bd6b68eb Mon Sep 17 00:00:00 2001 From: lxk0301 <778732665@qq.com> Date: Sat, 20 Feb 2021 00:38:48 +0800 Subject: [PATCH] fix --- jd_joy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jd_joy.js b/jd_joy.js index c22b529a..40442ea9 100644 --- a/jd_joy.js +++ b/jd_joy.js @@ -466,7 +466,7 @@ function scanMarket(type, body, cType = 'application/json') { method: "POST", data: body, credentials: "include", - header: {"content-type": "application/json"} + header: {"content-type": cType} } const url = "https:"+ taroRequest(opt)['url'] if (cType === 'application/json') {