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/TjConsumablesController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java index 33f5794..e408041 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java @@ -37,7 +37,7 @@ /** * 鏌ヨ浣撴鑰楁潗鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:list')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:list')") @GetMapping("/list") public TableDataInfo list(TjConsumables tjConsumables) { startPage(); @@ -48,7 +48,7 @@ /** * 瀵煎嚭浣撴鑰楁潗鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:export')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:export')") @Log(title = "浣撴鑰楁潗", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TjConsumables tjConsumables) { @@ -60,7 +60,7 @@ /** * 鑾峰彇浣撴鑰楁潗璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:query')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return success(tjConsumablesService.selectTjConsumablesById(id)); @@ -69,7 +69,7 @@ /** * 鏂板浣撴鑰楁潗 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:add')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:add')") @Log(title = "浣撴鑰楁潗", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TjConsumables tjConsumables) { @@ -79,7 +79,7 @@ /** * 淇敼浣撴鑰楁潗 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:edit')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:edit')") @Log(title = "浣撴鑰楁潗", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TjConsumables tjConsumables) { @@ -89,7 +89,7 @@ /** * 鍒犻櫎浣撴鑰楁潗 */ - @PreAuthorize("@ss.hasPermi('hosp:consumables:remove')") +// @PreAuthorize("@ss.hasPermi('hosp:consumables:remove')") @Log(title = "浣撴鑰楁潗", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { -- Gitblit v1.8.0