From a894bc6373154d5cfd28b7f46df3c4cfa01a7b9b Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 24 四月 2024 11:46:33 +0800
Subject: [PATCH] 代码提交
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java
index 0dbec25..9816ac5 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java
@@ -39,7 +39,7 @@
/**
* 鏌ヨ骞寸骇淇℃伅鍒楄〃
*/
- @PreAuthorize("@ss.hasPermi('system:grade:list')")
+ // @PreAuthorize("@ss.hasPermi('system:grade:list')")
@GetMapping("/list")
public TableDataInfo list(SysGrade sysGrade)
{
@@ -51,7 +51,7 @@
/**
* 瀵煎嚭骞寸骇淇℃伅鍒楄〃
*/
- @PreAuthorize("@ss.hasPermi('system:grade:export')")
+ // @PreAuthorize("@ss.hasPermi('system:grade:export')")
@Log(title = "骞寸骇淇℃伅", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public AjaxResult export(SysGrade sysGrade)
@@ -64,7 +64,7 @@
/**
* 鑾峰彇骞寸骇淇℃伅璇︾粏淇℃伅
*/
- @PreAuthorize("@ss.hasPermi('system:grade:query')")
+ // @PreAuthorize("@ss.hasPermi('system:grade:query')")
@GetMapping(value = "/{gradeId}")
public AjaxResult getInfo(@PathVariable("gradeId") Long gradeId)
{
@@ -74,7 +74,7 @@
/**
* 鏂板骞寸骇淇℃伅
*/
- @PreAuthorize("@ss.hasPermi('system:grade:add')")
+ // @PreAuthorize("@ss.hasPermi('system:grade:add')")
@Log(title = "骞寸骇淇℃伅", businessType = BusinessType.INSERT)
@PostMapping
@RepeatSubmit
@@ -86,9 +86,9 @@
/**
* 淇敼骞寸骇淇℃伅
*/
- @PreAuthorize("@ss.hasPermi('system:grade:edit')")
+ // @PreAuthorize("@ss.hasPermi('system:grade:edit')")
@Log(title = "骞寸骇淇℃伅", businessType = BusinessType.UPDATE)
- @PutMapping
+ @PostMapping("/edit")
@RepeatSubmit
public AjaxResult edit(@RequestBody SysGrade sysGrade)
{
@@ -98,9 +98,9 @@
/**
* 鍒犻櫎骞寸骇淇℃伅
*/
- @PreAuthorize("@ss.hasPermi('system:grade:remove')")
+ // @PreAuthorize("@ss.hasPermi('system:grade:remove')")
@Log(title = "骞寸骇淇℃伅", businessType = BusinessType.DELETE)
- @DeleteMapping("/{gradeIds}")
+ @GetMapping("/remove/{gradeIds}")
public AjaxResult remove(@PathVariable Long[] gradeIds)
{
return toAjax(sysGradeService.removeByIds(Arrays.asList(gradeIds)));
--
Gitblit v1.9.3