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/TjRuleAdviceController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRuleAdviceController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRuleAdviceController.java index eda8616..0395104 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRuleAdviceController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRuleAdviceController.java @@ -44,7 +44,7 @@ /** * 鏌ヨ鐥呯+鎰忚鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:list')") + //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:list')") @GetMapping("/list") public TableDataInfo list(TjRuleAdvice tjRuleAdvice) { startPage(); @@ -65,7 +65,7 @@ /** * 瀵煎嚭鐥呯+鎰忚鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:export')") + //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:export')") @Log(title = "鐥呯+鎰忚", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjRuleAdvice tjRuleAdvice) { @@ -87,7 +87,7 @@ /** * 鑾峰彇鐥呯+鎰忚璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:query')") + //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:query')") @GetMapping(value = "/{gid}") public AjaxResult getInfo(@PathVariable("gid") String gid) { return success(tjRuleAdviceService.getById(gid)); @@ -96,7 +96,7 @@ /** * 鏂板鐥呯+鎰忚 */ - @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:add')") + // @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:add')") @Log(title = "鐥呯+鎰忚", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TjRuleAdvice tjRuleAdvice) { @@ -106,7 +106,7 @@ /** * 淇敼鐥呯+鎰忚 */ - @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:edit')") + //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:edit')") @Log(title = "鐥呯+鎰忚", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TjRuleAdvice tjRuleAdvice) { @@ -116,7 +116,7 @@ /** * 鍒犻櫎鐥呯+鎰忚 */ - @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:remove')") + //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:remove')") @Log(title = "鐥呯+鎰忚", businessType = BusinessType.DELETE) @DeleteMapping("/{gids}") public AjaxResult remove(@PathVariable String[] gids) { -- Gitblit v1.8.0