12345678910111213141516171819202122232425262728293031323334353637 |
- using OASystem.Domain.Dtos.SmallFun;
- using OASystem.Domain.ViewModels.JuHeExchangeRate;
- namespace OASystem.API.OAMethodLib.JuHeAPI
- {
- /// <summary>
- /// 聚合Api 服务
- /// </summary>
- public interface IJuHeApiService
- {
- /// <summary>
- /// 获取汇率
- /// </summary>
- /// <returns></returns>
- Task<JuHeAPIResult> GetExchangeRateAsync();
- /// <summary>
- /// 获取汇率 Single
- /// </summary>
- /// <param name="currencyCode">币种code</param>
- /// <returns></returns>
- Task<Result> GetSingleRateAsync(string currencyCode);
- /// <summary>
- /// 获取汇率 Item
- /// </summary>
- /// <returns></returns>
- Task<Result> PostItemRateAsync(string[] currencyCodes);
- /// <summary>
- /// 获取汇率转换结果
- /// </summary>
- /// <returns></returns>
- Task<Result> GetExchangeRateAsync(ExchangeRateDto dto);
- }
- }
|