From 6eae571797421e5dda9d8d934394089a19178554 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 20 三月 2024 13:47:36 +0800 Subject: [PATCH] 临时切换角色按钮 --- ycl-server/src/main/java/com/ycl/platform/controller/TMonitorVideoController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorVideoController.java b/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorVideoController.java index 3502fe1..01de496 100644 --- a/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorVideoController.java +++ b/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorVideoController.java @@ -31,7 +31,7 @@ /** * 鏌ヨ璁惧璧勪骇鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:video:list')") +// @PreAuthorize("@ss.hasPermi('system:video:list')") @GetMapping("/list") public TableDataInfo list(TMonitorVideo tMonitorVideo) { @@ -43,7 +43,7 @@ /** * 瀵煎嚭璁惧璧勪骇鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:video:export')") +// @PreAuthorize("@ss.hasPermi('system:video:export')") @Log(title = "璁惧璧勪骇", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TMonitorVideo tMonitorVideo) @@ -56,7 +56,7 @@ /** * 鑾峰彇璁惧璧勪骇璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:video:query')") +// @PreAuthorize("@ss.hasPermi('system:video:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -66,7 +66,7 @@ /** * 鏂板璁惧璧勪骇 */ - @PreAuthorize("@ss.hasPermi('system:video:add')") +// @PreAuthorize("@ss.hasPermi('system:video:add')") @Log(title = "璁惧璧勪骇", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TMonitorVideo tMonitorVideo) @@ -77,7 +77,7 @@ /** * 淇敼璁惧璧勪骇 */ - @PreAuthorize("@ss.hasPermi('system:video:edit')") +// @PreAuthorize("@ss.hasPermi('system:video:edit')") @Log(title = "璁惧璧勪骇", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TMonitorVideo tMonitorVideo) @@ -88,7 +88,7 @@ /** * 鍒犻櫎璁惧璧勪骇 */ - @PreAuthorize("@ss.hasPermi('system:video:remove')") +// @PreAuthorize("@ss.hasPermi('system:video:remove')") @Log(title = "璁惧璧勪骇", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) -- Gitblit v1.8.0