This commit is contained in:
苏尹岚
2020-05-20 17:00:38 +08:00
parent ef88fd0fb6
commit df3217366e
3 changed files with 4 additions and 2 deletions

View File

@@ -354,7 +354,7 @@ func TestUpdateSkus(t *testing.T) {
}
func TestDeleteSku(t *testing.T) {
err := api.DeleteSku(69570857055)
err := api.DeleteSku(69576828876)
if err != nil {
t.Fatal(err)
}

View File

@@ -98,7 +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) {
_, err = a.AccessStorePage("http://stores.shop.jd.com/stores/updateStoreStatus", map[string]interface{}{
_, err = a.AccessStorePage("https://stores.shop.jd.com/stores/updateStoreStatus", map[string]interface{}{
"storeId": storeID,
"storeStatus": storeStatus,
}, false)