hjl
2024-07-16 ec6d43aa07ee0e8faf34498057ebcfbb446aa015
ruoyi-service/ruoyi-admin/src/main/java/com/ruoyi/admin/controller/NoticesController.java
@@ -55,8 +55,8 @@
    /**
     * 系统通知列表
     * -- 远程调用
     */
    @RequiresPermissions("system_notice")
    @ApiOperation(value = "系统通知列表(不分页)", tags = {"后台-系统设置-系统通知管理"})
    @GetMapping(value = "/noticesList")
    public R<List<Notices>> noticesList() {
@@ -66,6 +66,17 @@
    /**
     * 系统通知详情
     * -- 远程调用
     */
    @ApiOperation(value = "系统通知详情", tags = {"后台-系统设置-系统通知管理"})
    @GetMapping(value = "/noticesDetail")
    public R<Notices> noticesDetail(@RequestParam("id") Integer id) {
        return R.ok(noticesService.lambdaQuery().eq(Notices::getIsDelete, 0)
                .eq(Notices::getId, id).one());
    }
    /**
     * 系统通知详情
     *
     * @param id 系统通知id
     */