From e0564498938abb504e4f46b3227e729cf14f0018 Mon Sep 17 00:00:00 2001 From: yefei Date: Fri, 21 Apr 2023 17:36:32 +0800 Subject: [PATCH] =?UTF-8?q?ariesy=20=E5=A2=9E=E5=8A=A0=E9=82=AE=E7=AE=B1?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4=E5=88=A0=E9=99=A4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/controller/mailGather/EmailMaintainController.java | 5 ++++- .../main/resources/mapper/mailGather/EmailMaintainMapper.xml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dxhy-core/src/main/java/com/dxhy/core/controller/mailGather/EmailMaintainController.java b/dxhy-core/src/main/java/com/dxhy/core/controller/mailGather/EmailMaintainController.java index 3a126273..02a4f2b1 100644 --- a/dxhy-core/src/main/java/com/dxhy/core/controller/mailGather/EmailMaintainController.java +++ b/dxhy-core/src/main/java/com/dxhy/core/controller/mailGather/EmailMaintainController.java @@ -143,7 +143,10 @@ public class EmailMaintainController extends AbstractController { * @return 删除结果 */ @PostMapping("/delete") - public ResponseEntity delete(@RequestParam String id) { + public ResponseEntity delete(@RequestBody String id) { + + log.info("传入的删除参数id={}",id); + DynamicContextHolder.push(DbConstant.BASICS_READ); boolean b = emailMaintainService.deleteById(id); if(b){ diff --git a/dxhy-core/src/main/resources/mapper/mailGather/EmailMaintainMapper.xml b/dxhy-core/src/main/resources/mapper/mailGather/EmailMaintainMapper.xml index 9d3d1a52..7c7362df 100644 --- a/dxhy-core/src/main/resources/mapper/mailGather/EmailMaintainMapper.xml +++ b/dxhy-core/src/main/resources/mapper/mailGather/EmailMaintainMapper.xml @@ -29,7 +29,7 @@