| | |
| | | /** |
| | | * 获取资讯管理管理列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:information:list')") |
| | | @PreAuthorize("@ss.hasPermi('dynamic:list')") |
| | | @ApiOperation(value = "获取资讯管理分页列表") |
| | | @PostMapping(value = "/pageList") |
| | | public R<PageInfo<TInformation>> pageList(@RequestBody TInformationQuery query) { |
| | |
| | | /** |
| | | * 添加资讯管理管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:information:add')") |
| | | @PreAuthorize("@ss.hasPermi('dynamic:list:add')") |
| | | @Log(title = "资讯管理信息-新增资讯管理", businessType = BusinessType.INSERT) |
| | | @ApiOperation(value = "添加资讯管理") |
| | | @PostMapping(value = "/add") |
| | |
| | | /** |
| | | * 修改资讯管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:information:update')") |
| | | @PreAuthorize("@ss.hasPermi('dynamic:list:edit')") |
| | | @Log(title = "资讯管理信息-修改资讯管理", businessType = BusinessType.UPDATE) |
| | | @ApiOperation(value = "修改资讯管理") |
| | | @PostMapping(value = "/update") |
| | |
| | | /** |
| | | * 查看资讯管理详情 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:information:detail')") |
| | | @PreAuthorize("@ss.hasPermi('dynamic:list:detail')") |
| | | @ApiOperation(value = "查看资讯管理详情") |
| | | @GetMapping(value = "/getDetailById") |
| | | public R<TInformation> getDetailById(@RequestParam String id) { |
| | |
| | | /** |
| | | * 删除资讯管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:information:delete')") |
| | | @PreAuthorize("@ss.hasPermi('dynamic:list:delete')") |
| | | @Log(title = "资讯管理信息-删除资讯管理", businessType = BusinessType.DELETE) |
| | | @ApiOperation(value = "删除资讯管理") |
| | | @DeleteMapping(value = "/deleteById") |
| | |
| | | /** |
| | | * 批量删除资讯管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:information:delete')") |
| | | @PreAuthorize("@ss.hasPermi('dynamic:list:delete')") |
| | | @Log(title = "资讯管理信息-删除资讯管理", businessType = BusinessType.DELETE) |
| | | @ApiOperation(value = "批量删除资讯管理") |
| | | @DeleteMapping(value = "/deleteByIds") |