Add currency auto transform (#83)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
1 parent
3f16b60071
commit
c83b4fcc9f
21 files changed
+245
-22
No files matched your search
@@ -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();
|
||||
@@ -13,3 +13,4 @@ export * from './service';
|
||||
export * from './credential';
|
||||
export * from './qrart';
|
||||
export * from './site';
|
||||
export * from './exchange';
|
||||
Reference in new issue
Block a user