fix: 浙江大学软件学院项目链接bug (#4055)
This commit is contained in:
parent
4bb8c813a1
commit
6c93b86e4f
|
|
@ -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),
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue