From 232225891f27532a550ab9eb50d84f2f07dfac7f Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期一, 16 六月 2025 14:27:11 +0800
Subject: [PATCH] 用户权限管理,url替换后端获取,安装树状结构插件da-tree
---
api/common.js | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/api/common.js b/api/common.js
index ad25f22..023c24b 100644
--- a/api/common.js
+++ b/api/common.js
@@ -36,6 +36,17 @@
}
/**
+ * 鑾峰彇鏂囦欢璁块棶鍦板潃
+ */
+ export function getFilePreviewUrl(fileKey) {
+ return http.request({
+ url: `${api.common}/lmk/file/preview`,
+ method: Method.POST,
+ data: {fileKey: fileKey}
+ });
+}
+
+/**
* 鏂囦欢涓婁紶鍦板潃
* @type {string}
*/
--
Gitblit v1.8.0