fix: 优化界面以及更新接口
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 1m27s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 1m27s
This commit is contained in:
@@ -47,6 +47,14 @@ export function post<T = any>(url: string, config?: HttpRequestConfig): Promise<
|
||||
return request({ ...config, url, method: 'POST' });
|
||||
}
|
||||
|
||||
export function put<T = any>(url: string, config?: HttpRequestConfig): Promise<T> {
|
||||
return request({ ...config, url, method: 'PUT' });
|
||||
}
|
||||
|
||||
export function patch<T = any>(url: string, config?: HttpRequestConfig): Promise<T> {
|
||||
return request({ ...config, url, method: 'PATCH' });
|
||||
}
|
||||
|
||||
export function upload<T = any>(url: string, config?: HttpRequestConfig): Promise<T> {
|
||||
return request({ ...config, url, method: 'UPLOAD' });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user