From 0b6fbcef86911437600b22fa2becffefc7ec692d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 4 Dec 2023 11:18:38 +0800 Subject: [PATCH] 1 --- .../tiktok_api/logistics_express.go | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/platformapi/tiktok_shop/tiktok_api/logistics_express.go b/platformapi/tiktok_shop/tiktok_api/logistics_express.go index c24315da..e9aabdc0 100644 --- a/platformapi/tiktok_shop/tiktok_api/logistics_express.go +++ b/platformapi/tiktok_shop/tiktok_api/logistics_express.go @@ -202,23 +202,7 @@ func (a *API) OrderStatusAndPsInfoNew(param map[string]interface{}) error { } request.Param.RiderLatitude = utils.String2Pointer(param["latitude"].(string)) request.Param.RiderLongitude = utils.String2Pointer(param["longitude"].(string)) - //// 纬度 - //if param["latitude"].(string) != "" && param["longitude"].(string) != "" { - // if len(param["latitude"].(string)) > len("39.978573") && len(param["longitude"].(string)) > len("116.5031060") { // 是否为百度坐标 - // //lat, lng, _ := jxutils.IntCoordinate2MarsStandard(param["longitude"].(string), param["latitude"].(string), 1) - // lat, lng := AutoGaoDe2BaiDu(param["latitude"].(string), param["longitude"].(string)) - // request.Param.RiderLatitude = utils.String2Pointer(lat) - // request.Param.RiderLongitude = utils.String2Pointer(lng) - // } else { - // request.Param.RiderLatitude = utils.String2Pointer(param["latitude"].(string)) - // request.Param.RiderLongitude = utils.String2Pointer(param["longitude"].(string)) - // } - //} - - if param["logistics_provider_code"].(string) != "MERCHANT" { - request.Param.DistributionDeliveryId = param["third_carrier_order_id"].(string) - } - + request.Param.DistributionDeliveryId = param["third_carrier_order_id"].(string) switch param["opcode"].(string) { case TiktokLogisticsStatusCALLRIDER: request.Param.Status = 101