去除应用管理权限

This commit is contained in:
akun 2024-05-16 16:10:03 +08:00
parent f590dd5c64
commit c3b1d01968

View File

@ -38,7 +38,7 @@ public class ApplyListInfoController extends BaseController
/** /**
* 查询应用列列表 * 查询应用列列表
*/ */
@PreAuthorize("@ss.hasPermi('index:list:list')") // @PreAuthorize("@ss.hasPermi('index:list:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(ApplyListInfo applyListInfo) public TableDataInfo list(ApplyListInfo applyListInfo)
{ {
@ -50,7 +50,7 @@ public class ApplyListInfoController extends BaseController
/** /**
* 导出应用列列表 * 导出应用列列表
*/ */
@PreAuthorize("@ss.hasPermi('index:list:export')") // @PreAuthorize("@ss.hasPermi('index:list:export')")
@Log(title = "应用列", businessType = BusinessType.EXPORT) @Log(title = "应用列", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, ApplyListInfo applyListInfo) public void export(HttpServletResponse response, ApplyListInfo applyListInfo)
@ -63,7 +63,7 @@ public class ApplyListInfoController extends BaseController
/** /**
* 获取应用列详细信息 * 获取应用列详细信息
*/ */
@PreAuthorize("@ss.hasPermi('index:list:query')") // @PreAuthorize("@ss.hasPermi('index:list:query')")
@GetMapping(value = "/{id}") @GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) public AjaxResult getInfo(@PathVariable("id") Long id)
{ {
@ -73,7 +73,7 @@ public class ApplyListInfoController extends BaseController
/** /**
* 新增应用列 * 新增应用列
*/ */
@PreAuthorize("@ss.hasPermi('index:list:add')") // @PreAuthorize("@ss.hasPermi('index:list:add')")
@Log(title = "应用列", businessType = BusinessType.INSERT) @Log(title = "应用列", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody ApplyListInfo applyListInfo) public AjaxResult add(@RequestBody ApplyListInfo applyListInfo)
@ -86,7 +86,7 @@ public class ApplyListInfoController extends BaseController
/** /**
* 修改应用列 * 修改应用列
*/ */
@PreAuthorize("@ss.hasPermi('index:list:edit')") // @PreAuthorize("@ss.hasPermi('index:list:edit')")
@Log(title = "应用列", businessType = BusinessType.UPDATE) @Log(title = "应用列", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody ApplyListInfo applyListInfo) public AjaxResult edit(@RequestBody ApplyListInfo applyListInfo)
@ -98,7 +98,7 @@ public class ApplyListInfoController extends BaseController
/** /**
* 删除应用列 * 删除应用列
*/ */
@PreAuthorize("@ss.hasPermi('index:list:remove')") // @PreAuthorize("@ss.hasPermi('index:list:remove')")
@Log(title = "应用列", businessType = BusinessType.DELETE) @Log(title = "应用列", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) public AjaxResult remove(@PathVariable Long[] ids)