diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 04509d086..a3b3f1fa4 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -2388,7 +2388,8 @@ func GetStoreListByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDi // 为了审核用 if len(storeList2) == 0 { - sqlParams = []interface{}{ + sqlParams2 := []interface{}{ + model.VendorIDJX, utils.DefaultTimeValue, model.StoreStatusDisabled, utils.DefaultTimeValue, model.StoreStatusDisabled, jxutils.StandardCoordinate2Int(0), @@ -2396,7 +2397,7 @@ func GetStoreListByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDi jxutils.StandardCoordinate2Int(0), jxutils.StandardCoordinate2Int(10000), } - dao.GetRows(dao.GetDB(), &storeList2, sql, sqlParams...) + dao.GetRows(dao.GetDB(), &storeList2, sql, sqlParams2...) if len(storeList2) > 1 { storeList2 = storeList2[:1] }