| | |
| | | import org.springblade.modules.system.excel.RegionExcel; |
| | | import org.springblade.modules.system.excel.RegionImporter; |
| | | import org.springblade.modules.system.service.IRegionService; |
| | | import org.springblade.modules.system.vo.RegionParamVO; |
| | | import org.springblade.modules.system.vo.RegionVO; |
| | | import org.springblade.modules.system.wrapper.RegionWrapper; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | */ |
| | | @GetMapping("/tree") |
| | | @ApiOperation(value = "树列表", notes = "传入menu") |
| | | public R getTree(RegionVO region) { |
| | | public R getTree(RegionParamVO region) { |
| | | return R.data(regionService.getTree(region)); |
| | | } |
| | | |
| | | /** |
| | | * 树列表-查询到社区的树 |
| | | * @return |
| | | */ |
| | | @GetMapping("/treeToCommunity") |
| | | @ApiOperation(value = "树列表-查询到社区的树", notes = "传入menu") |
| | | public R treeToCommunity(@RequestParam(value = "isFiter",required = false) String isFiter) { |
| | | return R.data(regionService.treeToCommunity(isFiter)); |
| | | } |
| | | |
| | | /** |
| | | * 树列表(获取当前树) |