添加delete, query的api, 修复上传中文名文件乱码的问题

This commit is contained in:
539943419 committed 2024-08-11 22:39:20 +08:00
1 parent 737ee87bae
commit 64259e37f4
10 files changed
+323 -14

No files matched your search

+7 -3
View File
@@ -4,7 +4,11 @@ import path from "path";
export const staticPath = path.join("./static");
export const port = 17705;
export const api_get = `/${"get"}`;
export const api_upload = `/${"upload"}/*`;
export const api = {
get: `/${"get"}`,
upload: `/${"upload"}/*`,
delete: `/${"delete"}/*`,
query: `/${"query"}`
}
export default { staticPath, port, api_get, api_upload }
export default { staticPath, port, api }