From baf2cc2ce3dfd1235c012a3750132769fcd9ad2f Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 18 九月 2025 17:02:05 +0800 Subject: [PATCH] 2025.9.18 1. 联合前端调试数据产品接口(待完成) --- src/main/kotlin/cn/flightfeather/supervision/lightshare/web/NightConstructionController.kt | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/NightConstructionController.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/NightConstructionController.kt index 59d5bbb..5164525 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/NightConstructionController.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/NightConstructionController.kt @@ -32,6 +32,13 @@ @RequestParam("id") id: Int ) = nightConstructionService.signFile(userId, fileNum, id) + @PostMapping("/record") + fun updateRecord( + @RequestParam recordId: Int, + @RequestParam(required = false) userId: String?, + @RequestParam(required = false) sceneId: String?, + ) = resPack { nightConstructionService.updateRecord(recordId, userId, sceneId) } + @GetMapping("/summary") fun getSummary( @RequestParam(value = "cityCode", required = false) cityCode: String?, -- Gitblit v1.9.3