+7
@@ -523,6 +523,13 @@ public class AddressController {
|
||||
}
|
||||
MatchDistrictResult matchResult = addressMatchProxyService.checkMatchDistrictCorrect(param);
|
||||
jsonResult.put("matchResult", matchResult);
|
||||
if (jsonResult.containsKey("category")) {
|
||||
if ("office".equals(jsonResult.getString("category"))) {
|
||||
jsonResult.put("propertyType", "写字楼");
|
||||
} else if ("shop".equals(jsonResult.getString("category"))) {
|
||||
jsonResult.put("propertyType", "商铺");
|
||||
}
|
||||
}
|
||||
} else if (jsonResult != null) {
|
||||
// 判断是否为自然村
|
||||
boolean matchedVillage = false;
|
||||
|
||||
Reference in New Issue
Block a user