From 196bb14112448857a885e32dc4149e308e00b01a Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 15 八月 2024 11:57:15 +0800 Subject: [PATCH] 2024.8.15 各项修正 --- src/main/kotlin/cn/flightfeather/supervision/lightshare/web/LawController.kt | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/LawController.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/LawController.kt index 0b9ecf7..eaf477a 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/LawController.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/LawController.kt @@ -35,7 +35,7 @@ @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}") @@ -43,4 +43,11 @@ @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) } \ No newline at end of file -- Gitblit v1.9.3