接口 FeignRegionApi

    • 方法详细资料

      • findOne

        @GetMapping("/{regionId}")
        net.guerlab.web.result.Result<RegionDTO> findOne​(@PathVariable("regionId")
                                                         Long regionId)
        根据地区id查询地区
        参数:
        regionId - 地区id
        返回:
        地区
      • findList

        @PostMapping
        net.guerlab.web.result.Result<net.guerlab.web.result.ListObject<RegionDTO>> findList​(@RequestBody
                                                                                             Map<String,​Object> searchParams)
        根据搜索参数查询地区列表
        参数:
        searchParams - 搜索参数
        返回:
        地区列表
      • findAll

        @PostMapping("/all")
        net.guerlab.web.result.Result<List<RegionDTO>> findAll​(@RequestBody
                                                               Map<String,​Object> searchParams)
        根据搜索参数查询地区列表
        参数:
        searchParams - 搜索参数
        返回:
        地区列表
      • tree

        @GetMapping("/tree")
        net.guerlab.web.result.Result<List<RegionDTO>> tree()
        根据搜索参数查询地区列表
        返回:
        地区树
      • findDepthList

        @GetMapping("/{regionId}/depth")
        net.guerlab.web.result.Result<List<RegionDTO>> findDepthList​(@PathVariable("regionId")
                                                                     Long regionId)
        获取深度列表
        参数:
        regionId - 地区ID
        返回:
        深度列表