| | |
| | | @ApiParam(value = "页码") @RequestParam(value = "page") page: Int, |
| | | @ApiParam(value = "单页数据量") @RequestParam(value = "per_page") perPage: Int, |
| | | response: HttpServletResponse |
| | | ) = lawService.getLawsRegulations(condition, page, perPage, response) |
| | | ) = lawService.getLawsRegulations(userId, condition, page, perPage, response) |
| | | |
| | | @ApiOperation(value = "根据行业类型查找相关法律法规") |
| | | @PostMapping("/eachType/{userId}") |
| | |
| | | @ApiParam(value = "用户id") @PathVariable userId: String, |
| | | @ApiParam(value = "查找条件") @RequestBody condition: LawsRegulationsCondition |
| | | ) = lawService.getLawsRegulationsWithEachType(condition) |
| | | |
| | | @ApiOperation(value = "查询资源所在系列") |
| | | @PostMapping("/series") |
| | | fun getSeries( |
| | | @ApiParam(value = "用户id") @RequestParam userId: String, |
| | | @ApiParam(value = "查找条件") @RequestParam(value = "seriesId") seriesId: String, |
| | | ) = lawService.getSeries(userId, seriesId) |
| | | } |