liujie
2025-07-15 8652e69d17ab0c1a5884c662a9f3f950ddf57948
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();
    }
}