From c8332186836b3dfe1fbd32d7bec7cd29a57e1888 Mon Sep 17 00:00:00 2001 From: whycrzh <ruanzhigang@whycst.com> Date: 星期四, 28 一月 2021 10:06:22 +0800 Subject: [PATCH] update swagger online API --- src/main/java/com/fgkj/controller/BtsStateChangeInfController.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/fgkj/controller/BtsStateChangeInfController.java b/src/main/java/com/fgkj/controller/BtsStateChangeInfController.java index 80e6027..55de7d4 100644 --- a/src/main/java/com/fgkj/controller/BtsStateChangeInfController.java +++ b/src/main/java/com/fgkj/controller/BtsStateChangeInfController.java @@ -4,6 +4,7 @@ import com.fgkj.dto.ServiceModel; import com.fgkj.services.history.BtsStateChangeInfService; import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; @@ -13,7 +14,7 @@ @RequestMapping("btsStateChange") @RestController -@Api +@Api(tags = "btsStateChange鎺ュ彛") public class BtsStateChangeInfController { @Resource @@ -21,6 +22,7 @@ //鎸夌収鏃堕棿椤哄簭鏄剧ず璁惧鐨勪簨浠朵俊鎭� @GetMapping("byCondition") + @ApiOperation(notes = "",value="鎸夌収鏃堕棿椤哄簭鏄剧ず璁惧鐨勪簨浠朵俊鎭�") public ServiceModel serchByCondition(@RequestBody BtsStateChangeInf binf) { // BtsStateChangeInf binf=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, BtsStateChangeInf.class); ServiceModel model=service.serchByCondition(binf); -- Gitblit v1.9.1