From 935fda56e95270493d9e3e46d28b29125d330ca3 Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: 星期一, 29 七月 2024 16:31:02 +0800
Subject: [PATCH] 修改:流媒体转码使用ffmpeg绝对路径,配置文件中增加ffmpegPath 增加:部门列表查询和部门详情查询无数据权限

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java
index a320da7..9fabfc1 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java
@@ -1,6 +1,9 @@
 package com.ruoyi.web.controller.system;
 
 import java.util.List;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
 import org.apache.commons.lang3.ArrayUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.security.access.prepost.PreAuthorize;
@@ -27,6 +30,7 @@
  * 
  * @author ruoyi
  */
+@Api(tags = "閮ㄩ棬淇℃伅")
 @RestController
 @RequestMapping("/system/dept")
 public class SysDeptController extends BaseController
@@ -67,7 +71,16 @@
         deptService.checkDeptDataScope(deptId);
         return success(deptService.selectDeptById(deptId));
     }
-
+    /**
+     * 鏍规嵁閮ㄩ棬缂栧彿鑾峰彇璇︾粏淇℃伅
+     */
+    @ApiOperation("鏍规嵁閮ㄩ棬缂栧彿鑾峰彇璇︾粏淇℃伅鏃犳暟鎹潈闄�")
+    @PreAuthorize("@ss.hasPermi('system:dept:query')")
+    @GetMapping(value = "/NoDataScope/{deptId}")
+    public AjaxResult getInfoNoDataScope(@PathVariable Long deptId)
+    {
+        return success(deptService.selectDeptById(deptId));
+    }
     /**
      * 鏂板閮ㄩ棬
      */

--
Gitblit v1.9.3