From 239ff566611741818e08ac6b0fc02b83a557acde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 9 Jul 2020 14:08:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=8E=E5=9B=A2=E9=85=8D=E9=80=81=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E9=97=A8=E5=BA=97=E7=8A=B6=E6=80=81=E5=9D=90=E6=A0=87?= =?UTF-8?q?floate64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/mtpsapi/mtpsapi_test.go | 2 +- platformapi/mtpsapi/shop_page.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platformapi/mtpsapi/mtpsapi_test.go b/platformapi/mtpsapi/mtpsapi_test.go index ae9f5a4b..01fd7816 100644 --- a/platformapi/mtpsapi/mtpsapi_test.go +++ b/platformapi/mtpsapi/mtpsapi_test.go @@ -25,7 +25,7 @@ func init() { // prod api = New("3c0a05d464c247c19d7ec13accc78605", "b1M}9?:sTbsB[OF2gNORnN(|(iy9rB8(`7]|[wGLnbmt`evfM>E:A90DjHAW:UPE") - api.SetCookie("token", "oo3x6pAld4SskzvbEOnSslWUUQwc6w2m7uCfppCEnvRWzHVqctujL0xzLCkro6qj7mowU51zl99ExVUxgJjJ_Q") + api.SetCookie("token", "ht4RWbL5klQMupzHjARWOLgiHhGW1X3WlAmZ0Zfal0MRY6KkSE0XJJ-86x2duX2ufQil1Sm5jJrVqM2KlUWnjQ") } func handleError(t *testing.T, err error) { diff --git a/platformapi/mtpsapi/shop_page.go b/platformapi/mtpsapi/shop_page.go index 2bc24954..357ff015 100644 --- a/platformapi/mtpsapi/shop_page.go +++ b/platformapi/mtpsapi/shop_page.go @@ -91,8 +91,8 @@ type GetStoreStatusResult struct { OpenType int `json:"openType"` CategoryID int `json:"categoryId"` SecondCategoryID int `json:"secondCategoryId"` - PoiLat int `json:"poiLat"` - PoiLng int `json:"poiLng"` + PoiLat float64 `json:"poiLat"` + PoiLng float64 `json:"poiLng"` SubBrandID int `json:"subBrandId"` PoiType int `json:"poiType"` }