1
This commit is contained in:
@@ -202,7 +202,7 @@ func (p *PurchaseHandler) ReadStore(ctx *jxcontext.Context, vendorOrgCode, vendo
|
|||||||
if utils.Interface2String(result["coord_type"]) == ebaiapi.CoordTypeBaidu {
|
if utils.Interface2String(result["coord_type"]) == ebaiapi.CoordTypeBaidu {
|
||||||
var err2 error
|
var err2 error
|
||||||
if lng, lat, err2 = api.AutonaviAPI.CoordinateConvert(lng, lat, autonavi.CoordSysBaidu); err2 != nil {
|
if lng, lat, err2 = api.AutonaviAPI.CoordinateConvert(lng, lat, autonavi.CoordSysBaidu); err2 != nil {
|
||||||
return nil, err2
|
globals.SugarLogger.Debugf("CoordinateConvert err : %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
retVal.Lng = jxutils.StandardCoordinate2Int(lng)
|
retVal.Lng = jxutils.StandardCoordinate2Int(lng)
|
||||||
|
|||||||
Reference in New Issue
Block a user