经纬度查门店返回null测试

This commit is contained in:
苏尹岚
2020-03-30 08:52:50 +08:00
parent 08a132acec
commit e022ce74c2

View File

@@ -2410,7 +2410,8 @@ func GetStoreListByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDi
jxutils.StandardCoordinate2Int(10000),
}
dao.GetRows(dao.GetDB(), &storeList2, sql, sqlParams2...)
fmt.Println(utils.Format4Output(storeList2, false))
fmt.Println(sql)
fmt.Println(sqlParams2)
if len(storeList2) > 1 {
storeList2 = storeList2[:1]
}