From e00e55b0b91342be0163ac16cfbb7a927ca7d5c1 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, 1 Jul 2020 08:49:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=AC=E4=B8=9C=E4=BF=AE=E6=94=B9=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/autonavi/autonavi_test.go | 2 +- platformapi/jdapi/callback.go | 28 +++++++++++++-------------- platformapi/jdshopapi/store_test.go | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/platformapi/autonavi/autonavi_test.go b/platformapi/autonavi/autonavi_test.go index b5883e69..a2c344f7 100644 --- a/platformapi/autonavi/autonavi_test.go +++ b/platformapi/autonavi/autonavi_test.go @@ -151,7 +151,7 @@ func TestBatchWalkingDistance(t *testing.T) { } func TestAA(t *testing.T) { - result, err := autonaviAPI.GetCoordinateAreaInfo(123.715455, 42.221651) + result, err := autonaviAPI.GetCoordinateAreaInfo(121.237244, 31.052816) if err != nil { t.Fatal(err) } diff --git a/platformapi/jdapi/callback.go b/platformapi/jdapi/callback.go index 21660531..c5dfe329 100644 --- a/platformapi/jdapi/callback.go +++ b/platformapi/jdapi/callback.go @@ -140,20 +140,20 @@ type CallbackOrderMsg struct { type CallbackOrderInfoChangeMsg struct { *CallbackMsg - BillID string `json:"billId"` //10003129 消息单据ID - StatusID string `json:"statusId"` //1 不必做业务判断,与接口含义相同,表示订单消息变更(历史原因保留字段,不建议使用) - Timestamp string `json:"timestamp"` //2015-10-16 13:23:30 日期格式为"yyyy-MM-dd HH:mm:ss" - BuyerProvince string `json:"buyerProvince"` // 18 省Id(有值表示信息变更后的值) - BuyerCity string `json:"buyerCity"` //1 市Id(有值表示信息变更后的值) - BuyerCountry string `json:"buyerCountry"` // 123 县Id(有值表示信息变更后的值) - BuyerFullAddress string `json:"buyerFullAddress"` // 用户地址 收货人详细地址(有值表示信息变更后的值) - BuyerFullName string `json:"buyerFullName"` // 用户名 收货人名称(有值表示信息变更后的值) - BuyerLng float64 `json:"buyerLng"` //1.1 收货人地址坐标纬度(有值表示信息变更后的值) - BuyerLat float64 `json:"buyerLat"` //1.1 收货人地址坐标经度(有值表示信息变更后的值) - BuyerMobile string `json:"buyerMobile"` //01058434049 收货人手机号(有值表示信息变更后的值) - Midnumber string `json:"midnumber"` //01058434049 中间号(有值表示信息变更后的值) - MiddleNumBindingTimestring string `json:"middleNumBindingTimestring"` // 2017-10-29 22:54:44 绑定中间号有效期截止时间(有值表示信息变更后的值) - OrderBuyerRemark string `json:"orderBuyerRemark"` // 用户备注 订单买家备注(有值表示信息变更后的值) + BillID string `json:"billId"` //10003129 消息单据ID + StatusID string `json:"statusId"` //1 不必做业务判断,与接口含义相同,表示订单消息变更(历史原因保留字段,不建议使用) + Timestamp string `json:"timestamp"` //2015-10-16 13:23:30 日期格式为"yyyy-MM-dd HH:mm:ss" + BuyerProvince string `json:"buyerProvince"` // 18 省Id(有值表示信息变更后的值) + BuyerCity string `json:"buyerCity"` //1 市Id(有值表示信息变更后的值) + BuyerCountry string `json:"buyerCountry"` // 123 县Id(有值表示信息变更后的值) + BuyerFullAddress string `json:"buyerFullAddress"` // 用户地址 收货人详细地址(有值表示信息变更后的值) + BuyerFullName string `json:"buyerFullName"` // 用户名 收货人名称(有值表示信息变更后的值) + BuyerLng string `json:"buyerLng"` //1.1 收货人地址坐标纬度(有值表示信息变更后的值) + BuyerLat string `json:"buyerLat"` //1.1 收货人地址坐标经度(有值表示信息变更后的值) + BuyerMobile string `json:"buyerMobile"` //01058434049 收货人手机号(有值表示信息变更后的值) + Midnumber string `json:"midnumber"` //01058434049 中间号(有值表示信息变更后的值) + MiddleNumBindingTimestring string `json:"middleNumBindingTimestring"` // 2017-10-29 22:54:44 绑定中间号有效期截止时间(有值表示信息变更后的值) + OrderBuyerRemark string `json:"orderBuyerRemark"` // 用户备注 订单买家备注(有值表示信息变更后的值) } type CallbackDeliveryStatusMsg struct { diff --git a/platformapi/jdshopapi/store_test.go b/platformapi/jdshopapi/store_test.go index 91f386f8..0de4c714 100644 --- a/platformapi/jdshopapi/store_test.go +++ b/platformapi/jdshopapi/store_test.go @@ -57,7 +57,7 @@ func TestGetCity(t *testing.T) { } func TestGetCounty(t *testing.T) { - result, err := api.GetCounty(2822) + result, err := api.GetCounty(2834) if err != nil { t.Fatal(err) }