Add change role status (not finish)

This commit is contained in:
2023-11-12 22:54:03 +08:00
parent 66c88fec48
commit 3e407fc9c8
6 changed files with 112 additions and 11 deletions

View File

@@ -118,6 +118,9 @@ const request = {
async put<T>(url: string, data?: object): Promise<AxiosResponse<_Response<T>>> {
return await request.request('PUT', url, { data })
},
async patch<T>(url: string, data?: object): Promise<AxiosResponse<_Response<T>>> {
return await request.request('PATCH', url, { data })
},
async delete<T>(url: string, data?: object): Promise<AxiosResponse<_Response<T>>> {
return await request.request('DELETE', url, { params: data })
},