diff --git a/docs/university.md b/docs/university.md index 8c240409f..4b2f55ed0 100644 --- a/docs/university.md +++ b/docs/university.md @@ -1193,7 +1193,13 @@ type 列表: ### 官网信息 - + + +| 通知公告 | 招标信息 | 要闻 | 媒体聚焦 | 学术讲座 | 科技前沿 | +| -------- | -------- | ---- | -------- | -------- | -------- | +| tzgg | zbxx | yw | mtjj | xsjz | xsqy | + + ## 上海交通大学 diff --git a/lib/routes/universities/shou/www.js b/lib/routes/universities/shou/www.js index 7122cbf8c..4734b7b45 100644 --- a/lib/routes/universities/shou/www.js +++ b/lib/routes/universities/shou/www.js @@ -33,7 +33,15 @@ const ProcessFeed = async (list, caches) => module.exports = async (ctx) => { const type = ctx.params.type; - const readableType = type === 'zbxx' ? '招标信息' : '通知公告'; + const dict = { + zbxx: '招标信息', + tzgg: '通知公告', + yw: '要闻', + mtjj: '媒体聚焦', + xsjz: '学术讲座', + xsqy: '科技前沿', + }; + const readableType = dict[type]; const response = await got({ method: 'get', url: `${host}/${type}/list.htm`,