| | |
| | | param.setWithCameras(0); |
| | | List<PageRegionInfoResponse> result = new ArrayList<>(); |
| | | try { |
| | | // result = boardService.getRegionTree( param); |
| | | result = boardService.getRegionTree( param); |
| | | //------TODO---------测试模拟数据----start----- |
| | | for (int i = 0; i < 5; i++) { |
| | | /* for (int i = 0; i < 5; i++) { |
| | | PageRegionInfoResponse t = new PageRegionInfoResponse(); |
| | | t.setName("总区域_"+i); |
| | | t.setIndexCode(i+"_code"); |
| | |
| | | t.getChildList().add(t1); |
| | | } |
| | | result.add(t); |
| | | } |
| | | }*/ |
| | | //------TODO---------测试模拟数据----end----- |
| | | }catch (Exception e){ |
| | | |