Compare commits

...

7 Commits

1 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,8 @@ public class ShippingTemplatesRegionServiceImpl extends ServiceImpl<ShippingTemp
if(this.cityIdList == null || this.cityIdList.size() < 1){
Area area = AreaUtils.getArea(Area.ID_CHINA);
Assert.notNull(area, "获取不到中国");
cityIdList = new ArrayList<>();
AreaUtils.getAreaId(cityIdList, AreaTypeEnum.DISTRICT,area.getChildren());
}
return this.cityIdList;