终极测试
This commit is contained in:
@@ -71,8 +71,13 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
|
|||||||
Name: "b-sec",
|
Name: "b-sec",
|
||||||
Value: "S2JWP6CAFP7K4I6PXVBUVCO6YVXUX2JAPDHLX5RZUDE4YKCGOEXJIINB3Q4THCFCMVWZPFAYGLWLG",
|
Value: "S2JWP6CAFP7K4I6PXVBUVCO6YVXUX2JAPDHLX5RZUDE4YKCGOEXJIINB3Q4THCFCMVWZPFAYGLWLG",
|
||||||
}
|
}
|
||||||
|
c2 := &http.Cookie{
|
||||||
|
Name: "csrf_token",
|
||||||
|
Value: "b84d0a5c-6288-4db4-84e1-cadf66be3bf7",
|
||||||
|
}
|
||||||
request.AddCookie(c)
|
request.AddCookie(c)
|
||||||
request.AddCookie(c1)
|
request.AddCookie(c1)
|
||||||
|
request.AddCookie(c2)
|
||||||
client := &http.Client{}
|
client := &http.Client{}
|
||||||
fmt.Println("test1", request.URL)
|
fmt.Println("test1", request.URL)
|
||||||
fmt.Println("test1", utils.Format4Output(request, false))
|
fmt.Println("test1", utils.Format4Output(request, false))
|
||||||
|
|||||||
Reference in New Issue
Block a user