fix(route): sichuan/deyang 政府公开信息 (#9613)
This commit is contained in:
parent
65857026f8
commit
133a9602e7
|
|
@ -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}`,
|
||||
|
|
|
|||
Loading…
Reference in New Issue