diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index ce4ea83e4..114a02025 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -2386,6 +2386,8 @@ func GetStoreListByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDi } var storeList1 []*Store4User + fmt.Println(sql) + fmt.Println(sqlParams) if err = dao.GetRows(dao.GetDB(), &storeList1, sql, sqlParams...); err == nil { var storeList2 []*Store4User for _, v := range storeList1 { @@ -2408,6 +2410,7 @@ 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)) if len(storeList2) > 1 { storeList2 = storeList2[:1] }