Skip to content

Commit

Permalink
fix(route): update route 山东大学-计算机科学与技术学院-首页通知 (DIYgod#16806)
Browse files Browse the repository at this point in the history
* fix: update route 山东大学-计算机科学与技术学院-首页通知

* fix: update path error

* feat: add radar for 山东大学CS学院首页
  • Loading branch information
wiketool authored Sep 19, 2024
1 parent 3c338b5 commit 5ba095d
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions lib/routes/sdu/cs.ts → lib/routes/sdu/cs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ const titleMap = {
};

export const route: Route = {
path: '/cs/:type?',
path: '/cs/index/:type?',
categories: ['university'],
example: '/sdu/cs/announcement',
example: '/sdu/cs/index/announcement',
parameters: { type: '默认为 `announcement`' },
features: {
requireConfig: false,
Expand All @@ -34,8 +34,30 @@ export const route: Route = {
supportPodcast: false,
supportScihub: false,
},
radar: [
{
source: ['www.cs.sdu.edu.cn/', 'www.cs.sdu.edu.cn/xygg.htm'],
target: '/cs/index/announcement',
},
{
source: ['www.cs.sdu.edu.cn/xsbg.htm'],
target: '/cs/index/academic',
},
{
source: ['www.cs.sdu.edu.cn/kjjx.htm'],
target: '/cs/index/technology',
},
{
source: ['www.cs.sdu.edu.cn/bkjy.htm'],
target: '/cs/index/undergraduate',
},
{
source: ['www.cs.sdu.edu.cn/yjsjy.htm'],
target: '/cs/index/postgraduate',
},
],
name: '计算机科学与技术学院通知',
maintainers: ['Ji4n1ng'],
maintainers: ['Ji4n1ng', 'wiketool'],
handler,
description: `| 学院公告 | 学术报告 | 科技简讯 | 本科教育 | 研究生教育 |
| -------- | -------- | -------- | -------- | -------- |
Expand Down

0 comments on commit 5ba095d

Please sign in to comment.