refactor: 项目重构

This commit is contained in:
Ray.Hao
2025-05-24 07:35:46 +08:00
parent cfe041d7d2
commit 32686ad807
51 changed files with 1201 additions and 696 deletions

View File

@@ -42,7 +42,7 @@ const FileAPI = {
return request({
url: "/api/v1/files",
method: "delete",
params: { filePath: filePath },
params: { filePath },
});
},
@@ -53,7 +53,7 @@ const FileAPI = {
*/
download(url: string, fileName?: string) {
return request({
url: url,
url,
method: "get",
responseType: "blob",
}).then((res) => {