From 4788c0abe7193191b3ca024b0f5f8fed196294bd Mon Sep 17 00:00:00 2001 From: yupeng <roc__yu@163.com> Date: 星期三, 05 三月 2025 14:29:26 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' into xizang-changyun --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TInformationController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TInformationController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TInformationController.java index 6152134..8ddb6b1 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TInformationController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TInformationController.java @@ -39,7 +39,7 @@ /** * 获取资讯管理管理列表 */ - @PreAuthorize("@ss.hasPermi('system:information:list')") + @PreAuthorize("@ss.hasPermi('dynamic:list')") @ApiOperation(value = "获取资讯管理分页列表") @PostMapping(value = "/pageList") public R<PageInfo<TInformation>> pageList(@RequestBody TInformationQuery query) { @@ -49,7 +49,7 @@ /** * 添加资讯管理管理 */ - @PreAuthorize("@ss.hasPermi('system:information:add')") + @PreAuthorize("@ss.hasPermi('dynamic:list:add')") @Log(title = "资讯管理信息-新增资讯管理", businessType = BusinessType.INSERT) @ApiOperation(value = "添加资讯管理") @PostMapping(value = "/add") @@ -60,7 +60,7 @@ /** * 修改资讯管理 */ - @PreAuthorize("@ss.hasPermi('system:information:update')") + @PreAuthorize("@ss.hasPermi('dynamic:list:edit')") @Log(title = "资讯管理信息-修改资讯管理", businessType = BusinessType.UPDATE) @ApiOperation(value = "修改资讯管理") @PostMapping(value = "/update") @@ -71,7 +71,7 @@ /** * 查看资讯管理详情 */ - @PreAuthorize("@ss.hasPermi('system:information:detail')") + @PreAuthorize("@ss.hasPermi('dynamic:list:detail')") @ApiOperation(value = "查看资讯管理详情") @GetMapping(value = "/getDetailById") public R<TInformation> getDetailById(@RequestParam String id) { @@ -81,7 +81,7 @@ /** * 删除资讯管理 */ - @PreAuthorize("@ss.hasPermi('system:information:delete')") + @PreAuthorize("@ss.hasPermi('dynamic:list:delete')") @Log(title = "资讯管理信息-删除资讯管理", businessType = BusinessType.DELETE) @ApiOperation(value = "删除资讯管理") @DeleteMapping(value = "/deleteById") @@ -92,7 +92,7 @@ /** * 批量删除资讯管理 */ - @PreAuthorize("@ss.hasPermi('system:information:delete')") + @PreAuthorize("@ss.hasPermi('dynamic:list:delete')") @Log(title = "资讯管理信息-删除资讯管理", businessType = BusinessType.DELETE) @ApiOperation(value = "批量删除资讯管理") @DeleteMapping(value = "/deleteByIds") -- Gitblit v1.7.1