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/TjPrintOrderController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPrintOrderController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPrintOrderController.java index 3e7e111..06e75fe 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPrintOrderController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjPrintOrderController.java @@ -52,7 +52,7 @@ /** * 鏌ヨ浣撴鎵撳嵃璁板綍鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:order:list')") + //@PreAuthorize("@ss.hasPermi('system:order:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ") public TableDataInfo list(TjPrintOrder tjPrintOrder) { @@ -64,7 +64,7 @@ /** * 瀵煎嚭浣撴鎵撳嵃璁板綍鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:order:export')") + // @PreAuthorize("@ss.hasPermi('system:order:export')") @Log(title = "浣撴鎵撳嵃璁板綍", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭") @@ -77,7 +77,7 @@ /** * 鑾峰彇浣撴鎵撳嵃璁板綍璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:order:query')") + //@PreAuthorize("@ss.hasPermi('system:order:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "璇﹁") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -87,7 +87,7 @@ /** * 鏂板浣撴鎵撳嵃璁板綍 */ - @PreAuthorize("@ss.hasPermi('system:order:add')") + //@PreAuthorize("@ss.hasPermi('system:order:add')") @Log(title = "浣撴鎵撳嵃璁板綍", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板") @@ -104,7 +104,7 @@ /** * 淇敼浣撴鎵撳嵃璁板綍 */ - @PreAuthorize("@ss.hasPermi('system:order:edit')") + //@PreAuthorize("@ss.hasPermi('system:order:edit')") @Log(title = "浣撴鎵撳嵃璁板綍", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼") @@ -115,7 +115,7 @@ /** * 鍒犻櫎浣撴鎵撳嵃璁板綍 */ - @PreAuthorize("@ss.hasPermi('system:order:remove')") + //@PreAuthorize("@ss.hasPermi('system:order:remove')") @Log(title = "浣撴鎵撳嵃璁板綍", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎") -- Gitblit v1.8.0