From 02116faf1bc4728619888ce4fdfe8392ba3ab913 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Thu, 22 Dec 2022 16:55:01 +0800 Subject: [PATCH] =?UTF-8?q?lat=20lng=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/delivery/tiktok_store/waybill.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/business/partner/delivery/tiktok_store/waybill.go b/business/partner/delivery/tiktok_store/waybill.go index 2b6ef9b9a..06a751120 100644 --- a/business/partner/delivery/tiktok_store/waybill.go +++ b/business/partner/delivery/tiktok_store/waybill.go @@ -7,6 +7,7 @@ import ( superm_createVirtualMobile_response "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/sdk-golang/api/superm_createVirtualMobile/response" "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/tiktok_api" "git.rosy.net.cn/baseapi/utils" + "git.rosy.net.cn/jx-callback/business/jxutils" "git.rosy.net.cn/jx-callback/business/jxutils/jxcontext" "git.rosy.net.cn/jx-callback/business/model" "git.rosy.net.cn/jx-callback/business/model/dao" @@ -55,8 +56,8 @@ func (c *DeliveryHandler) GetStore(ctx *jxcontext.Context, storeID int, vendorSt Name: storeInfo.StoreDetail.Store.Name, Tel1: storeInfo.StoreDetail.Store.Contact, Address: storeInfo.StoreDetail.Store.Address, - Lng: utils.Str2Int(storeInfo.StoreDetail.Store.Longitude), - Lat: utils.Str2Int(storeInfo.StoreDetail.Store.Latitude), + Lng: jxutils.StandardCoordinate2Int(utils.Str2Float64(storeInfo.StoreDetail.Store.Longitude)), + Lat: jxutils.StandardCoordinate2Int(utils.Str2Float64(storeInfo.StoreDetail.Store.Latitude)), }, VendorID: model.VendorIDDYPS, VendorStoreID: utils.Int64ToStr(storeInfo.StoreDetail.Store.StoreId),