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; }