This commit is contained in:
lxk0301
2021-02-20 00:38:48 +08:00
parent dfd97c3f1a
commit 5a2541f110

View File

@ -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') {