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 }