mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix(route): sichuan/deyang 政府公开信息 (#9613)
This commit is contained in:
@@ -80,7 +80,7 @@ const getInfoContent = async (ctx, url, countyName) =>
|
||||
module.exports = async (ctx) => {
|
||||
const countyName = ctx.params.countyName;
|
||||
const infoUrlList = await getInfoUrlList(countyName);
|
||||
const items = await Promise.all(infoUrlList.map(async (item) => await getInfoContent(ctx, item)));
|
||||
const items = await Promise.all(infoUrlList.map(async (item) => await getInfoContent(ctx, item, countyName)));
|
||||
|
||||
ctx.state.data = {
|
||||
title: `政府公开信息 - ${countyName}`,
|
||||
|
||||
Reference in New Issue
Block a user