This commit is contained in:
邹宗楠
2023-10-27 18:04:52 +08:00
parent 3a071919af
commit f095bc9b32

View File

@@ -3,6 +3,7 @@ package cms
import (
"encoding/json"
"fmt"
"git.rosy.net.cn/jx-callback/globals"
"math"
"reflect"
"regexp"
@@ -734,6 +735,7 @@ func GetCyclingLine(sLng, sLat, uLng, uLat float64) (polyLineList []string, dist
if err != nil {
return nil, 0, 0, err
}
globals.SugarLogger.Debugf("==============:data %s", utils.Format4Output(data, false))
if data == "" {
return nil, 0, 0, fmt.Errorf("获取骑行规划路线错误")
}