From b4823b3a8045d77bba73dfbf34d167a9f8f69972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 18 May 2020 14:55:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=AC=E4=B8=9C=E5=95=86=E5=9F=8E=E9=97=A8?= =?UTF-8?q?=E5=BA=97=E4=BF=AE=E6=94=B9api=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/jdshopapi/store_page.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformapi/jdshopapi/store_page.go b/platformapi/jdshopapi/store_page.go index 926035ef..881a50e0 100644 --- a/platformapi/jdshopapi/store_page.go +++ b/platformapi/jdshopapi/store_page.go @@ -23,7 +23,7 @@ func (a *API) AccessStorePage(fullURL string, bizParams map[string]interface{}, request.Header.Set("Content-Type", "application/x-www-form-urlencoded") } else { request, _ = http.NewRequest(http.MethodGet, utils.GenerateGetURL(fullURL, "", bizParams), nil) - request.Header.Set("referer", "https: //stores.shop.jd.com/stores/storeinfolistview") + request.Header.Set("referer", "https://stores.shop.jd.com/stores/storeinfolistview") } a.FillRequestCookies(request) return request