京东设置门店状态cookie测试
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user