From ae04c5d925b0094e1a1ba1f2ce0bf6da0a6fee04 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 22 一月 2026 17:27:55 +0800
Subject: [PATCH] 2026.1.22 1. 新增台账上传office文档功能; 2. 新增office文档存储原始文档名字功能
---
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