fix: bug
This commit is contained in:
+3
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user