diff --git a/lib/config.js b/lib/config.js index 77a52d7b4e..f5b179e51b 100644 --- a/lib/config.js +++ b/lib/config.js @@ -95,10 +95,6 @@ const calculateValue = () => { chuiniu: { member: envs.CHUINIU_MEMBER, }, - bupt: { - username: envs.BUPT_USERNAME, - password: envs.BUPT_PASSWORD, - }, }; }; calculateValue(); diff --git a/lib/routes/universities/bupt/portal.js b/lib/routes/universities/bupt/portal.js index 9cf0e9afbb..666358ef2e 100644 --- a/lib/routes/universities/bupt/portal.js +++ b/lib/routes/universities/bupt/portal.js @@ -11,7 +11,7 @@ module.exports = async (ctx) => { value.forEach((item) => { out.push({ title: item.title, - description: item.desc, + description: item.text, pubDate: new Date(item.created * 1000).toUTCString(), link: `https://webapp.bupt.edu.cn/extensions/wap/news/detail.html?id=${item.id}&classify_id=tzgg`, author: item.author,