From 9d928b12c49b7b604c0b52ce1d98846813d5b613 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期日, 15 六月 2025 19:30:13 +0800
Subject: [PATCH] 视频发布支持多商品

---
 api/common.js |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/api/common.js b/api/common.js
index d6d7573..023c24b 100644
--- a/api/common.js
+++ b/api/common.js
@@ -26,6 +26,27 @@
 }
 
 /**
+ * 鑾峰彇鑵捐浜慶os sts涓存椂璁块棶鍑瘉
+ */
+ export function getSTSToken() {
+  return http.request({
+    url: `${api.common}/lmk/file/sts`,
+    method: Method.GET,
+  });
+}
+
+/**
+ * 鑾峰彇鏂囦欢璁块棶鍦板潃
+ */
+ 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