From a4acec45f4433af71b8747cbbf0812251429321f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 4 Jul 2024 16:29:29 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/cms.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/business/jxstore/cms/cms.go b/business/jxstore/cms/cms.go index 4ecb5267c..7b96353a5 100644 --- a/business/jxstore/cms/cms.go +++ b/business/jxstore/cms/cms.go @@ -754,10 +754,10 @@ func GetCyclingLine(sLng, sLat, uLng, uLat float64) (polyLineList []string, dist } } - globals.SugarLogger.Debugf("========polyLine := %s", utils.Format4Output(polyLine, false)) polyLineList, err = baiDuCoord2Gaode(polyLine) - globals.SugarLogger.Debugf("========polyLineList := %s", utils.Format4Output(coords, false)) - globals.SugarLogger.Debugf("========polyLineList :err= %v", err) + if err != nil { + polyLineList = polyLine + } return }