feat:添加admin相关接口

This commit is contained in:
2025-11-13 15:05:54 +08:00
parent 11cb40c86a
commit 067e0539ba
58 changed files with 18736 additions and 273 deletions
+5 -4
View File
@@ -93,8 +93,8 @@ class Request {
}
// DELETE 请求
delete(url, config = {}) {
return this.instance.delete(url, config)
delete(url,data={}, config = {}) {
return this.instance.delete(url,data, config)
}
// PATCH 请求
@@ -112,7 +112,8 @@ const request = new Request({
}
})
export const mainUrl = baseUrl + "/acs"
export const mainUrl = baseUrl + '/acs'
export const baseURL = baseUrl
export const http2 = axios.create({
baseURL: baseUrl,
@@ -132,7 +133,7 @@ http2.interceptors.request.use(config => {
}
config.headers.Authorization = `Bearer ${token}`;
config.url = '/acs' + config.url
config.url = config.url
return config
})