feat: 兼容新版本后端

This commit is contained in:
奔跑的面条
2023-05-01 21:49:08 +08:00
parent f23439d31f
commit 092a252ac4
3 changed files with 30 additions and 20 deletions
+2 -1
View File
@@ -89,7 +89,8 @@ export const uploadFile = async (data: object) => {
/**
* 文件地址
*/
fileName: string
fileName: string,
httpurl: string,
}>(`${ModuleTypeEnum.PROJECT}/upload`, data, ContentTypeEnum.FORM_DATA)
return res
} catch {