diff --git a/lib/v2/gxmzu/lib.js b/lib/v2/gxmzu/lib.js index 3ed56840f4514e..4681cfed0876e5 100644 --- a/lib/v2/gxmzu/lib.js +++ b/lib/v2/gxmzu/lib.js @@ -31,10 +31,9 @@ module.exports = async (ctx) => { }; }); - // 使用缓存 const out = await Promise.all( list.map((item) => - // Using cache + // 使用缓存 ctx.cache.tryGet(item.link, async () => { // 排除非本站点的外链 if (item.link && !item.link.startsWith('https://library.gxmzu.edu.cn')) { diff --git a/lib/v2/gxmzu/maintainer.js b/lib/v2/gxmzu/maintainer.js index f8310b2d389472..708f474418fb71 100644 --- a/lib/v2/gxmzu/maintainer.js +++ b/lib/v2/gxmzu/maintainer.js @@ -1,5 +1,5 @@ module.exports = { '/aitzgg': ['real-jiakai'], - '/yjszsgg': ['real-jiakai'], '/libzxxx': ['real-jiakai'], + '/yjszsgg': ['real-jiakai'], }; diff --git a/lib/v2/gxmzu/radar.js b/lib/v2/gxmzu/radar.js index 2669a9be8b0fca..03896845a0bca2 100644 --- a/lib/v2/gxmzu/radar.js +++ b/lib/v2/gxmzu/radar.js @@ -9,6 +9,14 @@ module.exports = { target: '/gxmzu/aitzgg', }, ], + library: [ + { + title: '图书馆最新消息', + docs: 'https://docs.rsshub.app/routes/unversity#guang-xi-min-zu-da-xue-tu-shu-guan-zui-xin-xiao-xi', + source: ['/news/news_list.jsp', '/'], + target: '/gxmzu/libzxxx', + }, + ], yjs: [ { title: '研究生院招生公告', diff --git a/lib/v2/gxmzu/router.js b/lib/v2/gxmzu/router.js index 73d3027889e5f0..92d00fd6fbed66 100644 --- a/lib/v2/gxmzu/router.js +++ b/lib/v2/gxmzu/router.js @@ -1,5 +1,5 @@ module.exports = (router) => { router.get('/aitzgg', require('./ai')); - router.get('/yjszsgg', require('./yjs')); router.get('/libzxxx', require('./lib')); + router.get('/yjszsgg', require('./yjs')); };