From 63ebc0007e9958bd6680c6841a7460b053275790 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期一, 22 四月 2024 14:20:15 +0800 Subject: [PATCH] 将 @PreAuthorize 全部注释 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java index 1c9963a..57efec3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java @@ -50,7 +50,7 @@ /** * 鏌ヨ澶栧洿鍗曚綅浜哄憳鍒楄〃 */ - //@PreAuthorize("@ss.hasPermi('project:externalperson:list')") + //// @PreAuthorize("@ss.hasPermi('project:externalperson:list')") @GetMapping("/list") public TableDataInfo list(ServiceExternalperson serviceExternalperson) { logger.info("璇㈠鍥村崟浣嶄汉鍛樺垪琛ㄧ殑鍏ュ弬涓� 锛歿}", serviceExternalperson); @@ -62,7 +62,7 @@ /** * 瀵煎嚭澶栧洿鍗曚綅浜哄憳鍒楄〃 */ - //@PreAuthorize("@ss.hasPermi('project:externalperson:export')") + //// @PreAuthorize("@ss.hasPermi('project:externalperson:export')") @Log(title = "澶栧洿鍗曚綅浜哄憳", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceExternalperson serviceExternalperson) { @@ -74,7 +74,7 @@ /** * 鑾峰彇澶栧洿鍗曚綅浜哄憳璇︾粏淇℃伅 */ - //@PreAuthorize("@ss.hasPermi('project:externalperson:query')") + //// @PreAuthorize("@ss.hasPermi('project:externalperson:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceExternalpersonService.getById(id)); @@ -83,7 +83,7 @@ /** * 鏂板澶栧洿鍗曚綅浜哄憳 */ - //@PreAuthorize("@ss.hasPermi('project:externalperson:add')") + //// @PreAuthorize("@ss.hasPermi('project:externalperson:add')") @Log(title = "澶栧洿鍗曚綅浜哄憳", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -100,7 +100,7 @@ /** * 淇敼澶栧洿鍗曚綅浜哄憳 */ - //@PreAuthorize("@ss.hasPermi('project:externalperson:edit')") + //// @PreAuthorize("@ss.hasPermi('project:externalperson:edit')") @Log(title = "澶栧洿鍗曚綅浜哄憳", businessType = BusinessType.UPDATE) @PostMapping("/editZJInfo") @RepeatSubmit @@ -111,7 +111,7 @@ /** * 鍒犻櫎澶栧洿鍗曚綅浜哄憳 */ - //@PreAuthorize("@ss.hasPermi('project:externalperson:remove')") + //// @PreAuthorize("@ss.hasPermi('project:externalperson:remove')") @Log(title = "澶栧洿鍗曚綅浜哄憳", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { -- Gitblit v1.9.3