用户中心和采购计划完善
This commit is contained in:
10
api/oa/finance/exchangeRate.js
Normal file
10
api/oa/finance/exchangeRate.js
Normal file
@@ -0,0 +1,10 @@
|
||||
// 汇率API,直接请求第三方服务
|
||||
import request from "@/util/oaRequest"
|
||||
|
||||
// 获取美元兑人民币汇率(dateStr可选,便于后续扩展)
|
||||
export async function getExchangeRate(dateStr) {
|
||||
return request({
|
||||
url: '/oa/exchangeRate/usd2cny',
|
||||
date: dateStr
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user