From 2d201aeff5f0c0e1c0e11d5000cd8e58df38ae03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 3 Mar 2026 11:03:59 +0800 Subject: [PATCH] 1 --- business/jxstore/common/common.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/business/jxstore/common/common.go b/business/jxstore/common/common.go index f9959b37a..c17c14928 100644 --- a/business/jxstore/common/common.go +++ b/business/jxstore/common/common.go @@ -40,6 +40,7 @@ type Store4User struct { Distance int `json:"distance"` WalkDistance int `json:"walkDistance"` + DeliverySelf int `json:"deliverySelf"` } type Store4UserList []*Store4User @@ -126,7 +127,7 @@ func GetStoreListByLocation(ctx *jxcontext.Context, lng, lat float64, maxRadius if !isJds { sql = ` SELECT t1.*, - city.name city_name + city.name city_name,sm.delivery_self FROM store t1 JOIN place city ON city.code = t1.city_code JOIN store_map sm ON sm.store_id = t1.id AND sm.vendor_id = ? AND sm.deleted_at = ? AND sm.status <> ? @@ -150,7 +151,7 @@ func GetStoreListByLocation(ctx *jxcontext.Context, lng, lat float64, maxRadius } else { sql = ` SELECT t1.*, - city.name city_name + city.name city_name,sm.delivery_self FROM store t1 JOIN place city ON city.code = t1.city_code JOIN store_map sm ON sm.store_id = t1.id AND sm.vendor_id = ? AND sm.deleted_at = ? AND sm.status = ?