From ca414bf210b2b05fb9838e9baef50047d4d6776c Mon Sep 17 00:00:00 2001 From: wen <1455474577@qq.com> Date: Thu, 30 Sep 2021 20:40:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=A1=A9=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E5=88=A0=E9=99=A4redis=E4=B8=AD=E7=9A=84=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xhpc-modules/xhpc-charging-station/pom.xml | 1 + .../main/java/com/xhpc/pp/controller/PileController.java | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/xhpc-modules/xhpc-charging-station/pom.xml b/xhpc-modules/xhpc-charging-station/pom.xml index ae3015b0..2d028a0c 100644 --- a/xhpc-modules/xhpc-charging-station/pom.xml +++ b/xhpc-modules/xhpc-charging-station/pom.xml @@ -137,6 +137,7 @@ org.springframework.boot spring-boot-maven-plugin 2.4.0 + /project/jar/Cloud_jar diff --git a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/PileController.java b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/PileController.java index cb6b37d9..91c6c304 100644 --- a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/PileController.java +++ b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/controller/PileController.java @@ -5,10 +5,7 @@ import com.xhpc.common.core.domain.R; import com.xhpc.pp.utils.security.HexUtils; import lombok.extern.slf4j.Slf4j; import org.quickserver.net.server.ClientHandler; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; import java.io.IOException; import java.util.Map; @@ -50,7 +47,7 @@ public class PileController { return R.ok(); } - @PostMapping("pile/whitelist/delete/{stationId}") + @DeleteMapping("pile/whitelist/delete/{stationId}") public Object deleteWhitelist(@PathVariable("stationId") Long stationId, @RequestBody Set pileNoSet) { // System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");