This commit is contained in:
苏尹岚
2020-11-11 11:17:55 +08:00
parent 44808f6b0f
commit 6c8d05e3c2
9 changed files with 60 additions and 19 deletions

View File

@@ -19,10 +19,10 @@ func init() {
baseapi.Init(sugarLogger)
// 菜市
api = New("589", "a81eb3df418d83d6a1a4b7c572156d2f", "")
// api = New("589", "a81eb3df418d83d6a1a4b7c572156d2f", "")
// 果园
// api = New("4123", "df2c88338b85f830cebce2a9eab56628", "")
api = New("4123", "df2c88338b85f830cebce2a9eab56628", "")
// api.SetCookie("_lx_utm", "utm_source%3D60066")
// api.SetCookie("_lxsdk", "82B825F99C7098EE5254EB228DC2A863CE34008DFF4AD0913E8DC80D009AA95E")
@@ -49,7 +49,7 @@ func init() {
// api.SetCookie("w_latlng", "30702250,104052315")
cookieStr := `
_lxsdk_cuid=172a6a9e89ec8-0876fd0b210a31-4e714511-15f900-172a6a9e89fc8; _lxsdk=172a6a9e89ec8-0876fd0b210a31-4e714511-15f900-172a6a9e89fc8; uuid_update=true; uuid=5b4e9f8306750ebf8e90.1591946010.1.0.0; device_uuid=!70f39cee-3c20-44c6-abe9-a8fa18a21c76; pushToken=0Sb28aO1nitSaWX-84LbCTjl7bicdYDWnpH40cGbBUs4*; wpush_server_url=wss://wpush.meituan.com; acctId=57396785; token=0fBG5UnxFzlome3nu69bmHcCMx-DGLJLhPhJHOlO9ruI*; brandId=-1; wmPoiId=-1; isOfflineSelfOpen=0; city_id=0; isChain=1; existBrandPoi=true; ignore_set_router_proxy=true; region_id=; region_version=0; newCategory=true; bsid=NBAQe-PcrcnMcSj4-6j85fnmomQBL_uiEvSZNlmjiaGPY4Hhn4FH22x_KvWicqy_wMz23p8JE5kgdxrsKwSqxw; cityId=510100; provinceId=510000; city_location_id=0; location_id=0; shopCategory=food; set_info=%7B%22wmPoiId%22%3A-1%2C%22ignoreSetRouterProxy%22%3Atrue%7D; igateApp=shangouepc; pharmacistAccount=0; JSESSIONID=gqmw35bsdy3hw3otz7yu2d9k; _lxsdk_s=174062b4c68-df9-15f-cd9%7C%7C30
acctId=62884810; token=0_0_vJux6rcmm0XIzoI885_aew-gnfofUw9SR-a-QkLw*; brandId=-1; wmPoiId=-1;
`
api.SetCookieWithStr(cookieStr)
}