From 69f727af93521de4ac48a09fdec928484d4df5bc Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期一, 04 十二月 2023 14:42:07 +0800 Subject: [PATCH] DELETE请求修改 --- src/main/java/com/whyc/controller/BattInfController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/whyc/controller/BattInfController.java b/src/main/java/com/whyc/controller/BattInfController.java index a791ef1..5b03ee8 100644 --- a/src/main/java/com/whyc/controller/BattInfController.java +++ b/src/main/java/com/whyc/controller/BattInfController.java @@ -93,7 +93,7 @@ return service.add(battinf,userInf.getUId().intValue()); } - @DeleteMapping + @PostMapping("delete") @ApiOperation(value = "鍒犻櫎鐢垫睜缁�") public Response delete(@RequestParam Integer battgroupId){ service.deleteByBattgroupId(battgroupId); -- Gitblit v1.9.1