From 4e77e04fb6f9ff5c19eb73365475116f77f27770 Mon Sep 17 00:00:00 2001 From: caihaohan Date: Fri, 28 Jun 2024 11:37:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=8D=89=E7=A8=BF=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=94=B9=E4=B8=BApost=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/activiti/controller/WorkCenterController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laws-modules/src/main/java/com/jero/modules/activiti/controller/WorkCenterController.java b/laws-modules/src/main/java/com/jero/modules/activiti/controller/WorkCenterController.java index ef34fc9e..041247d5 100644 --- a/laws-modules/src/main/java/com/jero/modules/activiti/controller/WorkCenterController.java +++ b/laws-modules/src/main/java/com/jero/modules/activiti/controller/WorkCenterController.java @@ -200,8 +200,8 @@ public class WorkCenterController { @AutoLog(value = "删除草稿") @ApiOperation(value = "删除草稿") - @GetMapping("/deleteDraft") - public Result deleteDraft(@RequestParam("id") String id) { + @PostMapping("/deleteDraft") + public Result deleteDraft(String id) { // 判断当前登录人是否属于草稿的所有人 ProcessDraft processDraft = processDraftService.getById(id); if (!CurrentUserUtil.getId().equals(processDraft.getUserId())) {