From 1916f55359bb6c8f34548c26767569b000decbfc Mon Sep 17 00:00:00 2001
From: zhibing.pu <393733352@qq.com>
Date: 星期六, 10 八月 2024 18:10:58 +0800
Subject: [PATCH] 新增加系统管理部分功能接口

---
 ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TChargingPileController.java |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TChargingPileController.java b/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TChargingPileController.java
index 33031b1..9698cc6 100644
--- a/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TChargingPileController.java
+++ b/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TChargingPileController.java
@@ -57,7 +57,10 @@
      */
     @ApiOperation(tags = {"小程序-充电桩"},value = "查询充电桩列表")
     @PostMapping(value = "/list")
-    public AjaxResult<List<TChargingPile>> list(@RequestParam(name = "siteId",value = "站点id",required = false)Integer siteId) {
+    @ApiImplicitParams({
+		    @ApiImplicitParam(name = "siteId", value = "站点id")
+    })
+    public AjaxResult<List<TChargingPile>> list(@RequestParam("siteId") Integer siteId) {
         return AjaxResult.ok(chargingPileService.list(Wrappers.lambdaQuery(TChargingPile.class)
                 .eq(TChargingPile::getSiteId,siteId)));
     }
@@ -107,7 +110,7 @@
 	@ApiImplicitParams({
 			@ApiImplicitParam(value = "充电桩id", name = "id", dataTypeClass = Integer.class, required = true)
 	})
-	public AjaxResult delChargingPile(@PathVariable Integer id){
+	public AjaxResult delChargingPile(@PathVariable Integer[] id){
 		return chargingPileService.delChargingPile(id);
 	}
 	

--
Gitblit v1.7.1