feat(route): change wsyu to v2 (#8594)
This commit is contained in:
parent
64469e5886
commit
ad2431367c
|
|
@ -2769,9 +2769,6 @@ router.get('/eastmoney/user/:uid', lazyloadRouteHandler('./routes/eastmoney/user
|
|||
router.get('/ssmh', lazyloadRouteHandler('./routes/ssmh'));
|
||||
router.get('/ssmh/category/:cid', lazyloadRouteHandler('./routes/ssmh/category'));
|
||||
|
||||
// 武昌首义学院
|
||||
router.get('/wsyu/news/:type?', lazyloadRouteHandler('./routes/universities/wsyu/news'));
|
||||
|
||||
// 华南师范大学研究生学院
|
||||
router.get('/scnuyjs', lazyloadRouteHandler('./routes/universities/scnu/scnuyjs'));
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
module.exports = {
|
||||
'/news/:type?': ['Derekmini'],
|
||||
};
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
module.exports = {
|
||||
'wsyu.edu.cn': {
|
||||
_name: '新闻中心',
|
||||
www: [
|
||||
{
|
||||
title: '学校要闻',
|
||||
docs: 'https://docs.rsshub.app/other.html#wu-chang-shou-yi-xue-yuan',
|
||||
source: '/*',
|
||||
target: '/wsyu/news/xxyw',
|
||||
},
|
||||
{
|
||||
title: '综合新闻',
|
||||
docs: 'https://docs.rsshub.app/other.html#wu-chang-shou-yi-xue-yuan',
|
||||
source: '/*',
|
||||
target: '/wsyu/news/zhxw',
|
||||
},
|
||||
{
|
||||
title: '媒体聚焦',
|
||||
docs: 'https://docs.rsshub.app/other.html#wu-chang-shou-yi-xue-yuan',
|
||||
source: '/*',
|
||||
target: '/wsyu/news/mtjj',
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
module.exports = function (router) {
|
||||
router.get('/news/:type?', require('./news'));
|
||||
};
|
||||
Loading…
Reference in New Issue