From 0ce771b4a4ff5897dc91bb1b84a4561781b00ca5 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期一, 01 七月 2024 14:38:24 +0800 Subject: [PATCH] 修改 --- src/main/java/com/whyc/controller/CKPowerDevRtSetLogController.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/whyc/controller/CKPowerDevRtSetLogController.java b/src/main/java/com/whyc/controller/CKPowerDevRtSetLogController.java index 5491c86..24b4765 100644 --- a/src/main/java/com/whyc/controller/CKPowerDevRtSetLogController.java +++ b/src/main/java/com/whyc/controller/CKPowerDevRtSetLogController.java @@ -6,14 +6,11 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; @RestController @RequestMapping("ckPowerDevRtSetLog") -@Api("鐢垫簮璁惧閬ユ祴閲忚缃棩蹇�") +@Api(tags = "鐢垫簮閬ユ祴閲忚缃棩蹇�") public class CKPowerDevRtSetLogController { @Autowired @@ -25,4 +22,9 @@ return service.getPage(param); } + @ApiOperation("鏌ヨ-鎸夊ぉ") + @PostMapping("getList") + public Response getList(@RequestParam String param, @RequestParam String dayTime){ + return service.getList(param,dayTime); + } } -- Gitblit v1.9.1