京东设置门店状态cookie测试

This commit is contained in:
苏尹岚
2020-05-20 15:05:08 +08:00
parent 7bfbba428a
commit bcdec280c7

View File

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