京东设置门店状态cookie测试

This commit is contained in:
苏尹岚
2020-05-20 15:34:43 +08:00
parent 80a27ce4fc
commit eed573b7f1
2 changed files with 1 additions and 2 deletions

View File

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

View File

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