无关风月
22 分钟以前 b5ead35c1d955f2a0e2e10da79254860d0ba95e9
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,10 +66,21 @@
    /**
     * 系统通知详情
     * -- 远程调用
     */
    @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
     */
    @RequiresPermissions("system_notice")
    @RequiresPermissions("notice_detail")
    @ApiOperation(value = "系统通知详情", tags = {"后台-系统设置-系统通知管理"})
    @GetMapping(value = "/detail")
    @ApiImplicitParams({
@@ -84,7 +95,7 @@
     *
     * @param notices 系统通知信息
     */
    @RequiresPermissions("system_notice")
    @RequiresPermissions("notice_save")
    @ApiOperation(value = "新增系统通知", tags = {"后台-系统设置-系统通知管理"})
    @PostMapping(value = "/save")
    public R<String> save(@RequestBody Notices notices) {
@@ -97,7 +108,7 @@
     *
     * @param notices 系统通知信息
     */
    @RequiresPermissions("system_notice")
    @RequiresPermissions("notice_update")
    @ApiOperation(value = "修改系统通知", tags = {"后台-系统设置-系统通知管理"})
    @PostMapping(value = "/update")
    public R<String> update(@RequestBody Notices notices) {
@@ -109,7 +120,7 @@
     *
     * @param ids 系统通知多条id拼接
     */
    @RequiresPermissions("system_notice")
    @RequiresPermissions("notice_delete")
    @ApiOperation(value = "批量删除系统通知", tags = {"后台-系统设置-系统通知管理"})
    @GetMapping(value = "/batchDelete")
    @ApiImplicitParams({