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)); }