From c1becf4cbd2e99601ce011c14b8742427249cfb4 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期二, 09 一月 2024 17:25:05 +0800 Subject: [PATCH] 1. 多项调整 --- src/main/kotlin/cn/flightfeather/supervision/lightshare/web/TaskController.kt | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/TaskController.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/TaskController.kt index 5920dda..fcc2943 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/TaskController.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/TaskController.kt @@ -2,6 +2,7 @@ import cn.flightfeather.supervision.domain.ds1.entity.Task import cn.flightfeather.supervision.lightshare.service.TaskService +import cn.flightfeather.supervision.lightshare.vo.AreaVo import io.swagger.annotations.Api import org.springframework.web.bind.annotation.* @@ -61,4 +62,7 @@ fun getRank(@RequestParam(value = "id", required = true) id: String, @RequestParam(value = "curSceneTypeId", required = true) sceneTypeId: String, @RequestParam(value = "sceneId", required = false) sceneId: String?) = taskService.getRank(id, sceneTypeId, sceneId) + + @PostMapping("/find") + fun findTask(@RequestBody areaVo: AreaVo) = resPack { taskService.findTask(areaVo) } } -- Gitblit v1.9.3