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

This commit is contained in:
zytomorrow 2022-04-25 15:22:50 +08:00 committed by GitHub
parent 65857026f8
commit 133a9602e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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}`,