From 907641e56c2085aaa81f267946dc3e3e9fca73e7 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 18 九月 2024 09:39:02 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyCategoryController.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyCategoryController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyCategoryController.java index 340cf00..54ce334 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyCategoryController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyCategoryController.java @@ -37,7 +37,7 @@ /** * 鏌ヨ闂嵎鍒嗙被鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('smartor:svycategory:list')") + //@PreAuthorize("@ss.hasPermi('smartor:svycategory:list')") @PostMapping("/list") public TableDataInfo list(@RequestBody SvyCategory svyCategory) { // startPage(); @@ -48,7 +48,7 @@ /** * 瀵煎嚭闂嵎鍒嗙被鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('smartor:svycategory:export')") + //@PreAuthorize("@ss.hasPermi('smartor:svycategory:export')") @Log(title = "闂嵎鍒嗙被", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, SvyCategory svyCategory) { @@ -60,7 +60,7 @@ /** * 鑾峰彇闂嵎鍒嗙被淇℃伅閫氳繃鍒嗙被鍚嶇О */ - // @PreAuthorize("@ss.hasPermi('smartor:svycategory:query')") + // //@PreAuthorize("@ss.hasPermi('smartor:svycategory:query')") @ApiOperation("鑾峰彇闂嵎鍒嗙被璇︾粏淇℃伅锛堥棶鍗风被鍒級") @PostMapping(value = "/getInfo") public TableDataInfo getInfo(@RequestParam(required = false) String categoryname) { @@ -70,7 +70,7 @@ /** * 鏂板闂嵎鍒嗙被 */ - @PreAuthorize("@ss.hasPermi('smartor:svycategory:add')") + //@PreAuthorize("@ss.hasPermi('smartor:svycategory:add')") @Log(title = "闂嵎鍒嗙被", businessType = BusinessType.INSERT) @ApiOperation("鏂板闂嵎鍒嗙被") @PostMapping("/add") @@ -81,7 +81,7 @@ /** * 鏂板闂嵎鍒嗙被鏍� */ - @PreAuthorize("@ss.hasPermi('system:assort:add')") + //@PreAuthorize("@ss.hasPermi('system:assort:add')") @Log(title = "闂璇濇湳鍒嗙被搴�", businessType = BusinessType.INSERT) @ApiOperation("鏂板闂嵎鍒嗙被鏍�") @PostMapping("/addtree") @@ -92,7 +92,7 @@ /** * 淇敼闂嵎鍒嗙被 */ - @PreAuthorize("@ss.hasPermi('smartor:svycategory:edit')") + //@PreAuthorize("@ss.hasPermi('smartor:svycategory:edit')") @Log(title = "闂嵎鍒嗙被", businessType = BusinessType.UPDATE) @ApiOperation("淇敼闂嵎鍒嗙被") @PostMapping("/edit") @@ -103,7 +103,7 @@ /** * 鍒犻櫎闂嵎鍒嗙被 */ - @PreAuthorize("@ss.hasPermi('smartor:svycategory:remove')") + //@PreAuthorize("@ss.hasPermi('smartor:svycategory:remove')") @Log(title = "闂嵎鍒嗙被", businessType = BusinessType.DELETE) @ApiOperation("鍒犻櫎闂嵎鍒嗙被") @GetMapping("/remove/{ids}") -- Gitblit v1.9.3