Files
im-uniapp/api/oa/finance/exchangeRate.js
2025-10-13 17:51:27 +08:00

10 lines
287 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 汇率API直接请求第三方服务
import request from "@/util/oaRequest"
// 获取美元兑人民币汇率dateStr可选便于后续扩展
export async function getExchangeRate(dateStr) {
return request({
url: '/oa/exchangeRate/usd2cny',
date: dateStr
})
}