diff --git a/business/model/const.go b/business/model/const.go index 87a459c01..26b6ae09d 100644 --- a/business/model/const.go +++ b/business/model/const.go @@ -152,11 +152,12 @@ var ( } ZXCityCodeMap = map[int]string{ - 310100: "上海市", - 110100: "北京市", - 120100: "天津市", - 440300: "深圳市", - 500100: "重庆市", + 310100: "上海市", + 110100: "北京市", + 120100: "天津市", + 440300: "深圳市", + 500100: "重庆市", + 9441900: "东莞", } PrinterVendorInfo = map[int][]string{ diff --git a/business/partner/purchase/jdshop/store.go b/business/partner/purchase/jdshop/store.go index 1945f2062..da7fd3231 100644 --- a/business/partner/purchase/jdshop/store.go +++ b/business/partner/purchase/jdshop/store.go @@ -105,7 +105,7 @@ func (p *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri if createEntityStoreParam.AddCode == 0 { createEntityStoreParam.AddCode = store.JdCode } - //证明这个店可能隶属直辖市 + //证明这个店可能隶属直辖市或者东莞 if model.ZXCityCodeMap[store.CityCode] != "" { result, _ := api.AutonaviAPI.GetCoordinateAreaInfo(jxutils.IntCoordinate2Standard(store.Lng), jxutils.IntCoordinate2Standard(store.Lat)) if result["regeocode"] != nil {