fix failed route: universities/hust/

rel: issues/1680
1. fix /hust/auto/notice/:type? & /hust/auto/new
2. add /hust/aia/notice/:type? & /hust/aia/new
This commit is contained in:
Ray Wong
2019-03-05 12:06:44 +08:00
parent 7a89b9de5f
commit 1f59667cb0
6 changed files with 85 additions and 10 deletions

2
lib/router.js Normal file → Executable file
View File

@@ -667,6 +667,8 @@ router.get('/kmust/job/jobfairs', require('./routes/universities/kmust/job/jobfa
// 华中科技大学
router.get('/hust/auto/notice/:type?', require('./routes/universities/hust/auto/notice'));
router.get('/hust/auto/news/', require('./routes/universities/hust/auto/news'));
router.get('/hust/aia/news/', require('./routes/universities/hust/aia/news'));
router.get('/hust/aia/notice/:type?', require('./routes/universities/hust/aia/notice'));
// 山东大学
router.get('/sdu/grad/academic', require('./routes/universities/sdu/grad/academic'));