add count management

This commit is contained in:
AceDataCloud committed 2023-03-28 10:30:41 +08:00
1 parent fcb056bb54
commit 523ab178a4
11 files changed
+196 -19

No files matched your search

+4
View File
@@ -39,6 +39,10 @@ class ApplicationOperator {
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();