终极测试

This commit is contained in:
苏尹岚
2020-05-20 17:58:27 +08:00
parent 3cba0f6593
commit 651ba7f116

View File

@@ -69,6 +69,8 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
}
request.AddCookie(c)
client := &http.Client{}
fmt.Println("test1", request.URL)
fmt.Println("test1", utils.Format4Output(request, false))
response, _ := client.Do(request)
defer response.Body.Close()
bodyData, _ := ioutil.ReadAll(response.Body)