ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysNoticeController.java
@@ -59,7 +59,7 @@ */ @PreAuthorize("@ss.hasPermi('system:notice:add')") @Log(title = "通知公告", businessType = BusinessType.INSERT) @PostMapping @PostMapping("/add") public AjaxResult add(@Validated @RequestBody SysNotice notice) { notice.setCreateBy(getUsername()); @@ -71,7 +71,7 @@ */ @PreAuthorize("@ss.hasPermi('system:notice:edit')") @Log(title = "通知公告", businessType = BusinessType.UPDATE) @PostMapping @PostMapping("/edit") public AjaxResult edit(@Validated @RequestBody SysNotice notice) { notice.setUpdateBy(getUsername());