From 9ea8edde96272e14b0deacb81996a65c4fcb5285 Mon Sep 17 00:00:00 2001 From: lige <bestlige@outlook.com> Date: 星期三, 13 九月 2023 16:49:18 +0800 Subject: [PATCH] 修改接口权限 --- ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java index 107cb1f..c0086ba 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictIcdController.java @@ -37,7 +37,7 @@ /** * 鏌ヨ鐤剧梾瀛楀吀鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:icd:list')") + //@PreAuthorize("@ss.hasPermi('system:icd:list')") @GetMapping("/getList") @ApiOperation(value = "鍥㈡缁熻椤甸潰鏌ヨ鐤剧梾鎺ュ彛") public AjaxResult getList(@ApiParam(value = "鍚嶇О") @RequestParam(required = false) String name, @@ -57,7 +57,7 @@ /** * 鏌ヨ鐤剧梾瀛楀吀鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:icd:list')") + //@PreAuthorize("@ss.hasPermi('system:icd:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ") public TableDataInfo list(DictIcd dictIcd) { @@ -69,7 +69,7 @@ /** * 瀵煎嚭鐤剧梾瀛楀吀鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:icd:export')") + //@PreAuthorize("@ss.hasPermi('system:icd:export')") @Log(title = "鐤剧梾瀛楀吀", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭") @@ -82,7 +82,7 @@ /** * 鑾峰彇鐤剧梾瀛楀吀璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:icd:query')") + //@PreAuthorize("@ss.hasPermi('system:icd:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -92,7 +92,7 @@ /** * 鏂板鐤剧梾瀛楀吀 */ - @PreAuthorize("@ss.hasPermi('system:icd:add')") + //@PreAuthorize("@ss.hasPermi('system:icd:add')") @Log(title = "鐤剧梾瀛楀吀", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板") @@ -103,7 +103,7 @@ /** * 淇敼鐤剧梾瀛楀吀 */ - @PreAuthorize("@ss.hasPermi('system:icd:edit')") + //@PreAuthorize("@ss.hasPermi('system:icd:edit')") @Log(title = "鐤剧梾瀛楀吀", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼") @@ -114,7 +114,7 @@ /** * 鍒犻櫎鐤剧梾瀛楀吀 */ - @PreAuthorize("@ss.hasPermi('system:icd:remove')") + //@PreAuthorize("@ss.hasPermi('system:icd:remove')") @Log(title = "鐤剧梾瀛楀吀", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎") -- Gitblit v1.8.0