添加delete, query的api, 修复上传中文名文件乱码的问题
This commit is contained in:
1 parent
737ee87bae
commit
64259e37f4
10 files changed
+323
-14
No files matched your search
+3
-1
@@ -1,7 +1,9 @@
|
||||
import express from "express";
|
||||
import path from "path";
|
||||
import fs from "fs";
|
||||
import { staticPath, api_get } from "../config.js";
|
||||
import { staticPath, api } from "../config.js";
|
||||
|
||||
const api_get = api.get
|
||||
|
||||
export default function useGetApi(app) {
|
||||
// 不存在文件与文件夹同名的问题
|
||||
|
||||
Reference in new issue
Block a user