根据经纬度查询门店

This commit is contained in:
苏尹岚
2020-03-30 09:02:52 +08:00
parent 3b0d554985
commit b0fdf7af1d

View File

@@ -2399,6 +2399,7 @@ func GetStoreListByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDi
jxutils.StandardCoordinate2Int(10000),
jxutils.StandardCoordinate2Int(0),
jxutils.StandardCoordinate2Int(10000),
model.YES,
}
dao.GetRows(dao.GetDB(), &storeList2, sql, sqlParams2...)
if len(storeList2) > 1 {