From c55d4db0d9e2d3c971ffbda46d7e4f26376822d7 Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期一, 19 八月 2024 11:52:24 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/SiteController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/SiteController.java b/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/SiteController.java index 011fff5..8ddb212 100644 --- a/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/SiteController.java +++ b/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/SiteController.java @@ -170,12 +170,12 @@ } @ResponseBody - @DeleteMapping("/delSite/{id}") + @DeleteMapping("/delSite") @ApiOperation(value = "删除站点", tags = {"管理后台-站点管理"}) @ApiImplicitParams({ @ApiImplicitParam(value = "站点id", name = "id", dataTypeClass = Integer.class, required = true) }) - public AjaxResult delSite(@PathVariable Integer[] id){ + public AjaxResult delSite(@RequestParam("id") Integer[] id){ return siteService.delSite(id); } -- Gitblit v1.7.1