From 82cd8e592a5cad720f727688de9465d31cfaa217 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期一, 09 六月 2025 11:16:26 +0800
Subject: [PATCH] 客户管理 小程序页面
---
api/common.js | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/api/common.js b/api/common.js
index 0117fad..023c24b 100644
--- a/api/common.js
+++ b/api/common.js
@@ -35,14 +35,16 @@
});
}
-export function getPreviewUrl(params){
- return http.request({
- url: `${api.common}/lmk/file/preview`,
- method: Method.POST,
- data:params
- });
+/**
+ * 鑾峰彇鏂囦欢璁块棶鍦板潃
+ */
+ export function getFilePreviewUrl(fileKey) {
+ return http.request({
+ url: `${api.common}/lmk/file/preview`,
+ method: Method.POST,
+ data: {fileKey: fileKey}
+ });
}
-
/**
* 鏂囦欢涓婁紶鍦板潃
--
Gitblit v1.8.0