This commit is contained in:
杨航
2025-09-10 16:00:57 +08:00
parent b30027989f
commit 6a35016879
2 changed files with 41 additions and 18 deletions
+3 -1
View File
@@ -41,7 +41,9 @@ export const uploadFile = (file, data) => {
});
});
};
export const getPreviewFileUrl = (id) => {
return get_base_url() + `/traoss/tras3/show/${id}`
}
// 对象存储下载 /traoss/tras3/show/{文件ID}
export function downloadFile(id) {
const token = getToken();