1
This commit is contained in:
@@ -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("获取骑行规划路线错误")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user