| | |
| | | |
| | | /** |
| | | * 系统通知列表 |
| | | * -- 远程调用 |
| | | */ |
| | | @RequiresPermissions("system_notice") |
| | | @ApiOperation(value = "系统通知列表(不分页)", tags = {"后台-系统设置-系统通知管理"}) |
| | | @GetMapping(value = "/noticesList") |
| | | public R<List<Notices>> noticesList() { |
| | |
| | | |
| | | /** |
| | | * 系统通知详情 |
| | | * -- 远程调用 |
| | | */ |
| | | @ApiOperation(value = "系统通知详情", tags = {"后台-系统设置-系统通知管理"}) |
| | | @GetMapping(value = "/noticesDetail") |
| | | public R<Notices> noticesDetail(@RequestParam("id") Integer id) { |
| | | return R.ok(noticesService.lambdaQuery().eq(Notices::getIsDelete, 0) |
| | | .eq(Notices::getId, id).one()); |
| | | } |
| | | |
| | | /** |
| | | * 系统通知详情 |
| | | * |
| | | * @param id 系统通知id |
| | | */ |