From bcdec280c7f1713324670084c64dccadf2ede6ed 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:05:08 +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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platformapi/jdshopapi/store_page.go b/platformapi/jdshopapi/store_page.go index 5c45c6fe..ff0c4d79 100644 --- a/platformapi/jdshopapi/store_page.go +++ b/platformapi/jdshopapi/store_page.go @@ -98,8 +98,7 @@ func (a *API) CreateShopCategory(createShopCategoryParam []*CreateShopCategoryPa //京东商城设置门店营业状态 //https://stores.shop.jd.com/stores/updateStoreStatus?storeId=24330156&storeStatus=6 func (a *API) UpdateStoreStatus(storeID, storeStatus int) (err error) { - fmt.Println("test1", a.APICookie.GetCookie("thor")) - _, err = a.AccessStorePage("https://stores.shop.jd.com/stores/updateStoreStatus", map[string]interface{}{ + _, err = a.AccessStorePage("http://stores.shop.jd.com/stores/updateStoreStatus", map[string]interface{}{ "storeId": storeID, "storeStatus": storeStatus, }, false)