From 123fdb565aefd544ee83a30fed3bc7f258678aca Mon Sep 17 00:00:00 2001 From: limingyu Date: Tue, 2 Apr 2024 15:12:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8A=A8=E7=81=AB=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A=E5=88=A0=E9=99=A4=E6=88=90=E5=8A=9F=E5=90=8E=E6=8F=90?= =?UTF-8?q?=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/zcloud/controller/bus/HotWorkApplicationController.java | 2 +- .../zcloud/controller/highriskwork/HotworkCfdController.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zcloud/controller/bus/HotWorkApplicationController.java b/src/main/java/com/zcloud/controller/bus/HotWorkApplicationController.java index 3b437940..5eeda735 100644 --- a/src/main/java/com/zcloud/controller/bus/HotWorkApplicationController.java +++ b/src/main/java/com/zcloud/controller/bus/HotWorkApplicationController.java @@ -91,7 +91,7 @@ public class HotWorkApplicationController extends BaseController { * @throws Exception */ @RequestMapping(value="/delete") - @RequiresPermissions("hotwork:del") +// @RequiresPermissions("hotwork:del") @ResponseBody public Object delete() throws Exception{ Map map = new HashMap(); diff --git a/src/main/java/com/zcloud/controller/highriskwork/HotworkCfdController.java b/src/main/java/com/zcloud/controller/highriskwork/HotworkCfdController.java index 97f21f19..aefd9324 100644 --- a/src/main/java/com/zcloud/controller/highriskwork/HotworkCfdController.java +++ b/src/main/java/com/zcloud/controller/highriskwork/HotworkCfdController.java @@ -330,7 +330,7 @@ public class HotworkCfdController extends BaseController { return response; } catch (Exception e) { e.printStackTrace(); - response.put("result", "success"); + response.put("result", "fail"); response.put("message", e.getMessage()); return response; }