无关风月
2025-07-02 f287dfb5249618bf821626e76b7ce8d8f74d6b99
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TSystemBulletinController.java
@@ -58,7 +58,7 @@
        return R.ok();
    }
    @ApiOperation(value = "详情系统公告")
    @PostMapping(value = "/detail")
    @GetMapping(value = "/detail")
    public R<TSystemBulletin> detail(@RequestParam String id) {
        return R.ok(systemBulletinService.getById(id));
@@ -81,7 +81,7 @@
    }
    @Log(title = "启用/禁用系统公告", businessType = BusinessType.OTHER)
    @ApiOperation(value = "启用/禁用系统公告")
    @DeleteMapping(value = "/editStatus")
    @GetMapping(value = "/editStatus")
    public R<Boolean> editStatus(@RequestParam String id) {
        TSystemBulletin byId = systemBulletinService.getById(id);
        if (byId.getStatus()==1){