RuoYi
2020-05-30 0d546e4ba491cbfc77d63b2b30b33b69bd7e46d0
ruoyi/src/main/java/com/ruoyi/project/system/controller/SysNoticeController.java
@@ -84,9 +84,9 @@
     */
    @PreAuthorize("@ss.hasPermi('system:notice:remove')")
    @Log(title = "通知公告", businessType = BusinessType.DELETE)
    @DeleteMapping("/{noticeId}")
    public AjaxResult remove(@PathVariable Long noticeId)
    @DeleteMapping("/{noticeIds}")
    public AjaxResult remove(@PathVariable Long[] noticeIds)
    {
        return toAjax(noticeService.deleteNoticeById(noticeId));
        return toAjax(noticeService.deleteNoticeByIds(noticeIds));
    }
}