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/TjStandardController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjStandardController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjStandardController.java index 803d858..d8df087 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjStandardController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjStandardController.java @@ -44,7 +44,7 @@ /** * 鏌ヨstandard鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('standard:standard:list')") + //@PreAuthorize("@ss.hasPermi('standard:standard:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ瑙勫垯鍒楄〃") public TableDataInfo list(TjStandard tjStandard) { @@ -65,7 +65,7 @@ /** * 瀵煎嚭standard鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('standard:standard:export')") + //@PreAuthorize("@ss.hasPermi('standard:standard:export')") @Log(title = "standard", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjStandard tjStandard) { @@ -77,7 +77,7 @@ /** * 鑾峰彇standard璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('standard:standard:query')") + //@PreAuthorize("@ss.hasPermi('standard:standard:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") String id) { return success(tjStandardService.selectTjStandardById(id)); @@ -86,7 +86,7 @@ /** * 鏂板standard */ - @PreAuthorize("@ss.hasPermi('standard:standard:add')") + //@PreAuthorize("@ss.hasPermi('standard:standard:add')") @Log(title = "standard", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板") @@ -98,7 +98,7 @@ /** * 淇敼standard */ - @PreAuthorize("@ss.hasPermi('standard:standard:edit')") + //@PreAuthorize("@ss.hasPermi('standard:standard:edit')") @Log(title = "standard", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼") @@ -109,7 +109,7 @@ /** * 鍒犻櫎standard */ - @PreAuthorize("@ss.hasPermi('standard:standard:remove')") + //@PreAuthorize("@ss.hasPermi('standard:standard:remove')") @Log(title = "standard", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎") -- Gitblit v1.8.0