export default {
async fetch(request) {
const url = 'https://datacenter-web.eastmoney.com/api/data/v1/get?sortColumns=REPORT_DATE&sortTypes=-1&pageSize=100&pageNumber=1&reportName=RPT_ECONOMY_LPR&columns=REPORT_DATE,INTEREST_1Y,INTEREST_5Y&source=WEB';
const res = await fetch(url);
const json = await res.json();
return new Response(JSON.stringify(json), {
headers: { 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*' }
});
}
};
| 时间段 | 天数 | LPR | 利率调整 | 金额 & 计算公式 |
|---|