diff --git a/lib/v2/nju/admission.js b/lib/v2/nju/admission.js index 6b9664d393..791d1334d4 100644 --- a/lib/v2/nju/admission.js +++ b/lib/v2/nju/admission.js @@ -4,7 +4,7 @@ const { parseDate } = require('@/utils/parse-date'); module.exports = async (ctx) => { const category_dict = { - tzgg: '通知公告' + tzgg: '通知公告', }; const items = await Promise.all( diff --git a/lib/v2/nju/jjc.js b/lib/v2/nju/jjc.js index 36e03fafac..c24ac9cb44 100644 --- a/lib/v2/nju/jjc.js +++ b/lib/v2/nju/jjc.js @@ -1,7 +1,7 @@ const got = require('@/utils/got'); const cheerio = require('cheerio'); const { parseDate } = require('@/utils/parse-date'); -const timezone = require("@/utils/timezone"); +const timezone = require('@/utils/timezone'); module.exports = async (ctx) => { const category_dict = { @@ -28,7 +28,8 @@ module.exports = async (ctx) => { link: 'https://jjc.nju.edu.cn' + item.find('a').attr('href'), pubDate: timezone(parseDate(item.find('td').last().text(), 'YYYY-MM-DD'), +8), category: category_dict[c], - };}) + }; + }) ); }) );