import{t as e}from"./cache-DUthuMSu.mjs";import{n as t,r as n,t as r}from"./utils-DgV34p2p.mjs";const i={path:`/finance/rollnews/:lid?`,categories:[`new-media`],example:`/sina/finance/rollnews`,parameters:{lid:"分区 id，见下表，默认为 `2519`"},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`finance.sina.com.cn/roll`,`finance.sina.com.cn/`],target:`/finance/rollnews`}],name:`财经－滚动新闻`,maintainers:[`betterandbetterii`],handler:a,url:`finance.sina.com.cn/roll`,description:`| 财经 | 股市 | 美股 | 中国概念股 | 港股 | 研究报告 | 全球市场 | 外汇 |
| ---- | ---- | ---- | ---------- | ---- | -------- | -------- | ---- |
| 2519 | 2671 | 2672 | 2673       | 2674 | 2675     | 2676     | 2487 |`};async function a(i){let a={2519:`财经`,2671:`股市`,2672:`美股`,2673:`中国概念股`,2674:`港股`,2675:`研究报告`,2676:`全球市场`,2487:`外汇`},{lid:o=`2519`}=i.req.param(),{limit:s=`50`}=i.req.query(),c=n((await r(`384`,o,s)).data.result.data),l=await Promise.all(c.map(n=>t(n,e.tryGet)));return{title:`新浪财经－${a[o]??o}滚动新闻`,link:`https://finance.sina.com.cn/roll/#pageid=384&lid=${o}&k=&num=${s}&page=1`,item:l}}export{i as route};