diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 0ec4e3c24..4e8a732a0 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -67,6 +67,8 @@ var ( "昆山市": "1", "常熟市": "1", "太仓市": "1", + "虞山街道": "虞山镇", + "常福街道": "虞山镇", } ) @@ -957,7 +959,8 @@ func updateOrCreateDadaStore(storeDetail *dao.StoreDetail2) (err error) { if dadaDistrictMap[storeDetail.DistrictName] == "1" { // 区镇信息 storeDetail.CityName = storeDetail.DistrictName storeDetail.DistrictName, _ = api.AutonaviAPI.GetCoordinateTownInfo(jxutils.IntCoordinate2Standard(storeDetail.Lng), jxutils.IntCoordinate2Standard(storeDetail.Lat)) - } else { + } + if dadaDistrictMap[storeDetail.DistrictName] != "" { storeDetail.DistrictName = dadaDistrictMap[storeDetail.DistrictName] } }