Add currency auto transform (#83)

Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
GermeyandAceDataCloud authored and GitHub committed 2024-07-14 15:35:04 +08:00
1 parent 3f16b60071
commit c83b4fcc9f
21 files changed
+245 -22

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import { AxiosResponse } from 'axios';
import { httpClient } from './common';
import { IExchangeRateRequest, IExchangeRateResponse } from '@/models';
class ExchangeOperator {
async rate(payload: IExchangeRateRequest): Promise<AxiosResponse<IExchangeRateResponse>> {
return httpClient.post('/exchange-rate', payload);
}
}
export const exchangeOperator = new ExchangeOperator();
+1
View File
@@ -13,3 +13,4 @@ export * from './service';
export * from './credential';
export * from './qrart';
export * from './site';
export * from './exchange';