From aea82fc6285fd37a33e0efd6cd0e5089dfa32faf Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期一, 01 九月 2025 22:05:58 +0800 Subject: [PATCH] Merge branch 'dev_fix_sub' of http://42.193.1.25:9521/r/lmk-shop-wx into dev_fix_sub --- api/common.js | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/api/common.js b/api/common.js index ad25f22..0a56d73 100644 --- a/api/common.js +++ b/api/common.js @@ -36,7 +36,19 @@ } /** + * 鑾峰彇鏂囦欢璁块棶鍦板潃 + */ + export function getFilePreviewUrl(fileKey) { + return http.request({ + url: `${api.common}/lmk/file/preview`, + method: Method.POST, + data: {fileKey: fileKey} + }); +} + +/** * 鏂囦欢涓婁紶鍦板潃 * @type {string} */ -export const upload = api.common + "/common/upload/file"; +export const upload = api.common + "/lmk/file/upload"; +export const multiUpload = api.common + "/lmk/file/multi/upload"; -- Gitblit v1.8.0