From 60d2b9fc1785c2f679d7e1cef9807e97c2ec4885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 20 May 2020 18:06:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=88=E6=9E=81=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jdshop/store.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/business/partner/purchase/jdshop/store.go b/business/partner/purchase/jdshop/store.go index 312e88618..1ad0c4ec0 100644 --- a/business/partner/purchase/jdshop/store.go +++ b/business/partner/purchase/jdshop/store.go @@ -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))