diff --git a/business/jxstore/cms/cms.go b/business/jxstore/cms/cms.go index 45b5e3868..4f9473176 100644 --- a/business/jxstore/cms/cms.go +++ b/business/jxstore/cms/cms.go @@ -2,6 +2,7 @@ package cms import ( "fmt" + "git.rosy.net.cn/jx-callback/globals" "math" "reflect" "regexp" @@ -730,6 +731,8 @@ func GetCyclingLine(sLng, sLat, uLng, uLat float64) (polyLineList []string, dist return nil, 0, 0, err } data, err := api.BaiDuNaviAPI.DirectionLiteRide(coords) + globals.SugarLogger.Debugf("======data := %s", utils.Format4Output(data, false)) + globals.SugarLogger.Debugf("======data := %v", err) if err != nil { return nil, 0, 0, err } @@ -761,6 +764,8 @@ func GetCyclingLine(sLng, sLat, uLng, uLat float64) (polyLineList []string, dist // 美团只认识高德地图坐标点,的转一下 func baiDuCoord2Gaode(baiduCoordinat []string) ([]string, error) { coords, err := api.BaiDuNaviAPI.BatchCoordinateConvertBai2Gao(baiduCoordinat, baidunavi.CoordSysBaidu2Gaode) + globals.SugarLogger.Debugf("------------coords %s", utils.Format4Output(coords, false)) + globals.SugarLogger.Debugf("------------coords %v", err) if err != nil { return nil, err }