This commit is contained in:
邹宗楠
2024-12-12 15:48:05 +08:00
parent 87d5598140
commit f657e2adb8
3 changed files with 26 additions and 6 deletions

View File

@@ -347,7 +347,8 @@ func IntCoordinate2MarsStandard(gpsLng, gpsLat int, coordinateType int) (marsLng
Type: coordSys,
})
if err != nil {
return 0, 0, err
globals.SugarLogger.Debugf("--TencentCoordinateChange err := %v", err)
return marsLng, marsLat, nil
}
return utils.Str2Float64(result[0].Lng), utils.Str2Float64(result[0].Lat), nil