fix(route): sichuan/deyang 政府公开信息 (#9613)

This commit is contained in:
zytomorrow
2022-04-25 08:22:50 +01:00
committed by GitHub
parent 65857026f8
commit 133a9602e7
+1 -1
View File
@@ -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}`,