Commit d70cfb63 authored by qinjunkun's avatar qinjunkun

根据货币和日期获取对应的汇率

parent f2e0b8fc
......@@ -38,4 +38,14 @@ interface RateServiceInterface
* @return array
*/
public function getGrossRateByProductNameIds($productNameIds, $year, $month = '', $keyed = true): array;
/***
* 根据 currency code 和策略获取对应月份或者日期的汇率。
* @param string $currencyCode
* @param string $month
* @param string $day
* @return mixed
*/
function getRateByCurrencyCodeAndSetting(string $currencyCode, string $month = '', string $day = '');
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment