xuhy
2025-11-15 dec2234ff37237d6ffd7bb936c9756cff8a8e674
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TOtherConfigController.java
@@ -39,6 +39,9 @@
    @ApiOperation(value = "修改系统其他设置-通知阈值管理")
    @PostMapping(value = "/update")
    public R<Boolean> update(@Validated @RequestBody TOtherConfig dto) {
        if(dto.getDays()>=365){
            return R.fail("天数不能超过365天");
        }
        return R.ok(otherConfigService.updateById(dto));
    }