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/GatewayInfController.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/controller/GatewayInfController.java b/src/main/java/com/whyc/controller/GatewayInfController.java index 984c176..726211c 100644 --- a/src/main/java/com/whyc/controller/GatewayInfController.java +++ b/src/main/java/com/whyc/controller/GatewayInfController.java @@ -47,4 +47,16 @@ public Response addGateway(@RequestBody GatewayInf ginf){ return service.addGateway(ginf); } + + @PostMapping("updateGateway") + @ApiOperation("缂栬緫缃戝叧") + public Response updateGateway(@RequestBody GatewayInf ginf){ + return service.updateGateway(ginf); + } + + @GetMapping("deleteGateway") + @ApiOperation("鍒犻櫎缃戝叧") + public Response deleteGateway(@RequestParam int num){ + return service.deleteGateway(num); + } } -- Gitblit v1.9.1