package com.jwipc.sys.client;

import java.math.BigDecimal;

/**
 * @author shenyang.ou
 * @date 2024/4/7 14:24
 * @desc
 */
public interface  ExchangeRateClient {
    /**
     * 根据币种获取当月汇率
     * @param currencyCode 从币种
     * @param convertExchange 到币种 (一般都是CNY)
     * @return 当月汇率
     */

    public BigDecimal getExchangeRate(String currencyCode,String convertExchange);

    public BigDecimal getExchangeRateDefault(String currencyCode);
}
