From 429c2529974ae43d466a6c03ca2656f7d1dbb268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 25 May 2020 10:12:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=AC=E4=B8=9C=E5=88=B0=E5=AE=B6=E5=BD=AD?= =?UTF-8?q?=E5=B7=9E=E7=89=B9=E6=AE=8A=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jd/store.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/business/partner/purchase/jd/store.go b/business/partner/purchase/jd/store.go index c46398f62..5b104c305 100644 --- a/business/partner/purchase/jd/store.go +++ b/business/partner/purchase/jd/store.go @@ -173,7 +173,13 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin } if store.JdDistrictCode != 0 { storeParams.County = store.JdDistrictCode + //彭州市做特殊处理 + if store.JdDistrictCode == 49318 { + storeParams.City = 49318 + storeParams.County = 310045 + } } + // storeParams.DeliveryRangeType = store.DeliveryRangeType // if store.DeliveryRangeType == model.DeliveryRangeTypePolygon { // storeParams.CoordinatePoints = store.DeliveryRange