终极测试

This commit is contained in:
苏尹岚
2020-05-20 18:06:33 +08:00
parent 7a103c132d
commit 60d2b9fc17

View File

@@ -71,8 +71,13 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
Name: "b-sec",
Value: "S2JWP6CAFP7K4I6PXVBUVCO6YVXUX2JAPDHLX5RZUDE4YKCGOEXJIINB3Q4THCFCMVWZPFAYGLWLG",
}
c2 := &http.Cookie{
Name: "csrf_token",
Value: "b84d0a5c-6288-4db4-84e1-cadf66be3bf7",
}
request.AddCookie(c)
request.AddCookie(c1)
request.AddCookie(c2)
client := &http.Client{}
fmt.Println("test1", request.URL)
fmt.Println("test1", utils.Format4Output(request, false))