- "虞山街道"->"虞山镇"
- "常福街道"->"虞山镇"
This commit is contained in:
@@ -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]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user