From 35a3bccaa12309d337e84db75ae344962e55607a Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期二, 17 六月 2025 18:50:27 +0800 Subject: [PATCH] update 调整商品分类为单列 --- seller/src/api/file.js | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/seller/src/api/file.js b/seller/src/api/file.js new file mode 100644 index 0000000..8c1bee0 --- /dev/null +++ b/seller/src/api/file.js @@ -0,0 +1,31 @@ +import service, { + getRequest, + postRequest, + putRequest, + deleteRequest, + importRequest, + getRequestWithNoToken, + commonUrl, + postRequestWithNoForm +} from "@/libs/axios"; + + +// 鑾峰彇鏂囦欢涓存椂璁块棶url +export const getFilePreview = (fileKey) => { + return service({ + baseURL: commonUrl, + url: "/common/lmk/file/preview", + method: "POST", + data: {"fileKey": fileKey} + }) +} + +// 鑾峰彇STS璁块棶浠ょ墝 +export const getSts = () => { + return service({ + baseURL: commonUrl, + url: "/common/lmk/file/sts", + method: "GET" + }) +} + -- Gitblit v1.8.0