From 6683dde1261155a7979935976aa30c861c07d93b Mon Sep 17 00:00:00 2001 From: fuhao Date: Wed, 4 Sep 2024 19:22:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(IP=E7=99=BD=E5=90=8D=E5=8D=95=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=99=A8=E4=BF=AE=E6=94=B9=E6=9D=83=E9=99=90):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/controller/board/PubWhiteIpController.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/board/PubWhiteIpController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/board/PubWhiteIpController.java index 26e31110..265043b0 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/board/PubWhiteIpController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/board/PubWhiteIpController.java @@ -22,7 +22,7 @@ import java.util.List; * @date 2024-09-04 */ @RestController -@RequestMapping("/white/ip") +@RequestMapping("/board/whiteIp") public class PubWhiteIpController extends BaseController { @Autowired private IPubWhiteIpService pubWhiteIpService; @@ -30,7 +30,7 @@ public class PubWhiteIpController extends BaseController { /** * 查询发布源白名单列表 */ - @PreAuthorize("@ss.hasPermi('white:ip:list')") + @PreAuthorize("@ss.hasPermi('board:whiteIp:list')") @GetMapping("/list") public TableDataInfo list(PubWhiteIp pubWhiteIp) { startPage(); @@ -41,7 +41,7 @@ public class PubWhiteIpController extends BaseController { /** * 导出发布源白名单列表 */ - @PreAuthorize("@ss.hasPermi('white:ip:export')") + @PreAuthorize("@ss.hasPermi('board:whiteIp:export')") @Log(title = "发布源白名单", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, PubWhiteIp pubWhiteIp) { @@ -53,7 +53,7 @@ public class PubWhiteIpController extends BaseController { /** * 获取发布源白名单详细信息 */ - @PreAuthorize("@ss.hasPermi('white:ip:query')") + @PreAuthorize("@ss.hasPermi('board:whiteIp:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return success(pubWhiteIpService.getById(id)); @@ -62,7 +62,7 @@ public class PubWhiteIpController extends BaseController { /** * 新增发布源白名单 */ - @PreAuthorize("@ss.hasPermi('white:ip:add')") + @PreAuthorize("@ss.hasPermi('board:whiteIp:add')") @Log(title = "发布源白名单", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody PubWhiteIp pubWhiteIp) { @@ -72,7 +72,7 @@ public class PubWhiteIpController extends BaseController { /** * 修改发布源白名单 */ - @PreAuthorize("@ss.hasPermi('white:ip:edit')") + @PreAuthorize("@ss.hasPermi('board:whiteIp:edit')") @Log(title = "发布源白名单", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody PubWhiteIp pubWhiteIp) { @@ -82,7 +82,7 @@ public class PubWhiteIpController extends BaseController { /** * 删除发布源白名单 */ - @PreAuthorize("@ss.hasPermi('white:ip:remove')") + @PreAuthorize("@ss.hasPermi('board:whiteIp:remove')") @Log(title = "发布源白名单", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable List ids) {