From 33e5d4cbe1dcf35590b0a149ddcfed5134dae051 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 04 七月 2025 17:28:50 +0800 Subject: [PATCH] 2025.7.4 1. 补充遗漏的新增溯源消息实体 --- src/main/kotlin/com/flightfeather/uav/lightshare/web/MissionController.kt | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/lightshare/web/MissionController.kt b/src/main/kotlin/com/flightfeather/uav/lightshare/web/MissionController.kt index 4af2908..d220000 100644 --- a/src/main/kotlin/com/flightfeather/uav/lightshare/web/MissionController.kt +++ b/src/main/kotlin/com/flightfeather/uav/lightshare/web/MissionController.kt @@ -23,6 +23,11 @@ @RequestBody mission: Mission ) = missionService.createMission(mission) + @PostMapping("/update") + fun updateMission( + @RequestBody mission: Mission + ) = missionService.updateMission(mission) + @PostMapping("/delete") fun deleteMission( @RequestParam("missionCode") missionCode: String -- Gitblit v1.9.3