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/CKPowerDevRtSetController.java | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/whyc/controller/CKPowerDevRtSetController.java b/src/main/java/com/whyc/controller/CKPowerDevRtSetController.java index 3c02fe8..8e61589 100644 --- a/src/main/java/com/whyc/controller/CKPowerDevRtSetController.java +++ b/src/main/java/com/whyc/controller/CKPowerDevRtSetController.java @@ -1,20 +1,29 @@ package com.whyc.controller; -import com.whyc.service.CKPowerDevRtService; +import com.whyc.dto.Response; +import com.whyc.pojo.db_ckpwrdev_data_rt.CKPowerDevRtSet; import com.whyc.service.CKPowerDevRtSetService; 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; @RestController -@Api(tags = "娴嬫帶鐢垫簮璁惧閬ユ祴閲�") +@Api(tags = "鐢垫簮閬ユ祴閲忚缃�") @RequestMapping("ckPowerDevSet") public class CKPowerDevRtSetController { @Autowired private CKPowerDevRtSetService service; + @ApiOperation("璁剧疆") + @PostMapping("update") + public Response update(@RequestBody CKPowerDevRtSet set){ + return service.update(set); + } } -- Gitblit v1.9.1