update api integration

This commit is contained in:
AceDataCloud committed 2023-10-01 01:18:17 +08:00
1 parent 7880b1d5d0
commit 8c1f3ab04d
15 files changed
+155 -127

No files matched your search

-8
View File
@@ -35,14 +35,6 @@ class ApplicationOperator {
async delete(id: string): Promise<AxiosResponse<null>> {
return await httpClient.delete(`/${this.key}/${id}`);
}
async rotateCredential(id: string): Promise<AxiosResponse<IApplicationDetailResponse>> {
return await httpClient.post(`/${this.key}/${id}/rotate-credential/`);
}
async updateRemainingAmount(id: string, data: IApplication): Promise<AxiosResponse<IApplicationDetailResponse>> {
return await httpClient.post(`/${this.key}/${id}/update-remaining-amount/`, data);
}
}
export const applicationOperator = new ApplicationOperator();