From eed573b7f1de96ff21c46f229dd737f954235fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 20 May 2020 15:34:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=AC=E4=B8=9C=E8=AE=BE=E7=BD=AE=E9=97=A8?= =?UTF-8?q?=E5=BA=97=E7=8A=B6=E6=80=81cookie=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/jdshopapi/store_page.go | 1 - platformapi/jdshopapi/store_page_test.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/platformapi/jdshopapi/store_page.go b/platformapi/jdshopapi/store_page.go index ab23076f..ff0c4d79 100644 --- a/platformapi/jdshopapi/store_page.go +++ b/platformapi/jdshopapi/store_page.go @@ -25,7 +25,6 @@ func (a *API) AccessStorePage(fullURL string, bizParams map[string]interface{}, request, _ = http.NewRequest(http.MethodGet, utils.GenerateGetURL(fullURL, "", bizParams), nil) } a.FillRequestCookies(request) - fmt.Println("test1", utils.Format4Output(request.Cookies(), false)) return request }, a.config, diff --git a/platformapi/jdshopapi/store_page_test.go b/platformapi/jdshopapi/store_page_test.go index d0ed2e97..c465ac1e 100644 --- a/platformapi/jdshopapi/store_page_test.go +++ b/platformapi/jdshopapi/store_page_test.go @@ -22,7 +22,7 @@ func TestCreateShopCategory(t *testing.T) { } func TestUpdateStoreStatus(t *testing.T) { - err := api.UpdateStoreStatus(24332466, 6) + err := api.UpdateStoreStatus(24332466, 1) if err != nil { t.Fatal(err) }