|
|
|
@ -243,9 +243,9 @@ public class RegionServiceImpl extends ServiceImpl<RegionMapper, Region> impleme
|
|
|
|
|
String areaCode = areaRegion.getCode(); |
|
|
|
|
String areaName = areaRegion.getName(); |
|
|
|
|
JSONObject areaObject = new JSONObject(); |
|
|
|
|
cityObject.put("value", areaCode); |
|
|
|
|
cityObject.put("label", areaName); |
|
|
|
|
areaArray.add(cityObject); |
|
|
|
|
areaObject.put("value", areaCode); |
|
|
|
|
areaObject.put("label", areaName); |
|
|
|
|
areaArray.add(areaObject); |
|
|
|
|
} |
|
|
|
|
if (areaArray.size() > 0) { |
|
|
|
|
cityObject.put("children", areaArray); |
|
|
|
|