- 京东COOKIE增加:lsp-store1.jddj.com
This commit is contained in:
@@ -11,7 +11,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
accessStorePageCookieName = "shop.o2o.jd.com1"
|
||||
accessStorePageCookieName = "shop.o2o.jd.com1"
|
||||
accessStorePageCookieName2 = "lsp-store1.jddj.com"
|
||||
)
|
||||
|
||||
type SkuPageImg struct {
|
||||
@@ -47,6 +48,10 @@ func (a *API) AccessStorePage(fullURL string) (retVal map[string]interface{}, er
|
||||
Name: accessStorePageCookieName,
|
||||
Value: storeCookie,
|
||||
})
|
||||
request.AddCookie(&http.Cookie{
|
||||
Name: accessStorePageCookieName2,
|
||||
Value: storeCookie,
|
||||
})
|
||||
return request
|
||||
},
|
||||
a.config,
|
||||
|
||||
Reference in New Issue
Block a user