From 01a4f6341f6fe4806f45cf7a4c7b3bc450a6a0e0 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 07 五月 2026 16:08:53 +0800
Subject: [PATCH] feat(AIChatSidebar): 添加文件上传预览和消息中文件显示功能

---
 src/api/system/role.js |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/api/system/role.js b/src/api/system/role.js
index 7710cc2..528cd18 100644
--- a/src/api/system/role.js
+++ b/src/api/system/role.js
@@ -109,3 +109,11 @@
     params: data
   })
 }
+
+// 鏍规嵁瑙掕壊ID鏌ヨ閮ㄩ棬鏍戠粨鏋�
+export function deptTreeSelect(roleId) {
+  return request({
+    url: '/system/role/deptTree/' + roleId,
+    method: 'get'
+  })
+}

--
Gitblit v1.9.3