diff --git a/lib/routes/beijingprice/index.ts b/lib/routes/beijingprice/index.ts index b8926a8a2..573423c4d 100644 --- a/lib/routes/beijingprice/index.ts +++ b/lib/routes/beijingprice/index.ts @@ -9,8 +9,8 @@ export const handler = async (ctx) => { const { category = 'jgzx/xwzx' } = ctx.req.param(); const limit = ctx.req.query('limit') ? Number.parseInt(ctx.req.query('limit'), 10) : 15; - const rootUrl = 'http://www.beijingprice.cn'; - const apiRootUrl = 'http://www.beijingprice.cn:8086'; + const rootUrl = 'https://www.beijingprice.cn'; + const apiRootUrl = 'https://www.beijingprice.cn:8086'; const currentUrl = new URL(category.endsWith('/') ? category : `${category}/`, rootUrl).href; const apiNewsUrl = new URL('price/priceInformation/MorningDayWeekNews/MorningNews', apiRootUrl).href; @@ -114,21 +114,21 @@ export const route: Route = { example: '/beijingprice/jgzx/xwzx', parameters: { category: '分类,默认为 `jgzx/xwzx` 即新闻资讯,可在对应分类页 URL 中找到' }, description: `:::tip - 若订阅 [新闻资讯](http://www.beijingprice.cn/jgzx/xwzx/),网址为 \`http://www.beijingprice.cn/jgzx/xwzx/\`。截取 \`https://beijingprice.cn/\` 到末尾 \`/\` 的部分 \`jgzx/xwzx\` 作为参数填入,此时路由为 [\`/beijingprice/jgzx/xwzx\`](https://rsshub.app/beijingprice/jgzx/xwzx)。 + 若订阅 [新闻资讯](https://www.beijingprice.cn/jgzx/xwzx/),网址为 \`https://www.beijingprice.cn/jgzx/xwzx/\`。截取 \`https://beijingprice.cn/\` 到末尾 \`/\` 的部分 \`jgzx/xwzx\` 作为参数填入,此时路由为 [\`/beijingprice/jgzx/xwzx\`](https://rsshub.app/beijingprice/jgzx/xwzx)。 ::: - #### [价格资讯](http://www.beijingprice.cn/jgzx/xwzx/) + #### [价格资讯](https://www.beijingprice.cn/jgzx/xwzx/) - | [新闻资讯](http://www.beijingprice.cn/jgzx/xwzx/) | [工作动态](http://www.beijingprice.cn/jgzx/gzdt/) | [各区动态](http://www.beijingprice.cn/jgzx/gqdt/) | [通知公告](http://www.beijingprice.cn/jgzx/tzgg/) | [价格早报](http://www.beijingprice.cn/jgzx/jgzb/) | - | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | - | [jgzx/xwzx](https://rsshub.app//beijingprice/jgzx/xwzx) | [jgzx/gzdt](https://rsshub.app//beijingprice/jgzx/gzdt) | [jgzx/gqdt](https://rsshub.app//beijingprice/jgzx/gqdt) | [jgzx/tzgg](https://rsshub.app//beijingprice/jgzx/tzgg) | [jgzx/jgzb](https://rsshub.app//beijingprice/jgzx/jgzb) | + | [新闻资讯](https://www.beijingprice.cn/jgzx/xwzx/) | [工作动态](https://www.beijingprice.cn/jgzx/gzdt/) | [各区动态](https://www.beijingprice.cn/jgzx/gqdt/) | [通知公告](https://www.beijingprice.cn/jgzx/tzgg/) | [价格早报](https://www.beijingprice.cn/jgzx/jgzb/) | + | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | + | [jgzx/xwzx](https://rsshub.app/beijingprice/jgzx/xwzx) | [jgzx/gzdt](https://rsshub.app/beijingprice/jgzx/gzdt) | [jgzx/gqdt](https://rsshub.app/beijingprice/jgzx/gqdt) | [jgzx/tzgg](https://rsshub.app/beijingprice/jgzx/tzgg) | [jgzx/jgzb](https://rsshub.app/beijingprice/jgzx/jgzb) | - #### [综合信息](http://www.beijingprice.cn/zhxx/cbjs/) + #### [综合信息](https://www.beijingprice.cn/zhxx/cbjs/) - | [价格听证](http://www.beijingprice.cn/zhxx/jgtz/) | [价格监测定点单位名单](http://www.beijingprice.cn/zhxx/jgjcdddwmd/) | [部门预算决算](http://www.beijingprice.cn/bmys/) | - | ------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------ | - | [zhxx/jgtz](https://rsshub.app//beijingprice/zhxx/jgtz) | [zhxx/jgjcdddwmd](https://rsshub.app//beijingprice/zhxx/jgjcdddwmd) | [bmys](https://rsshub.app//beijingprice/bmys) | -`, + | [价格听证](https://www.beijingprice.cn/zhxx/jgtz/) | [价格监测定点单位名单](https://www.beijingprice.cn/zhxx/jgjcdddwmd/) | [部门预算决算](https://www.beijingprice.cn/bmys/) | + | ------------------------------------------------------ | -------------------------------------------------------------------- | ------------------------------------------------- | + | [zhxx/jgtz](https://rsshub.app/beijingprice/zhxx/jgtz) | [zhxx/jgjcdddwmd](https://rsshub.app/beijingprice/zhxx/jgjcdddwmd) | [bmys](https://rsshub.app/beijingprice/bmys) | + `, categories: ['government'], features: {