fix: 浙江大学软件学院项目链接bug (#4055)

This commit is contained in:
zz 2020-02-25 00:09:35 +08:00 committed by GitHub
parent 4bb8c813a1
commit 6c93b86e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -53,14 +53,14 @@ module.exports = async (ctx) => {
});
ctx.state.data = {
title: '浙大软件学院-全部通知',
link: host + 'NULL',
link: host,
item: items,
};
} else {
const id = map.get(type).id;
ctx.state.data = {
title: map.get(type).title,
link: host + `${id}`,
link: host + `${id}` + '/list.htm',
item: await getPage(id),
};
}