springcloud_k8s_panzhihuazhihuishequ/service_westcommittee/src/main/java/com/panzhihua/westcommittee/api/MgtComplaintController.java
@@ -362,4 +362,17 @@ } @DeleteMapping("/delete/{id}") @ApiOperation(value = "删除诉求") public R<?> delete(@PathVariable("id") Long id) { SystemUserVo loginUserInfoWest = getLoginUserInfoWest(); if (loginUserInfoWest.getSystemRoleId()>2) { return R.fail("无权限"); } complaintService.removeById(id); return R.ok(); } }