From 59f4d83a9384e95a283cec441b657d6b4a45d2f1 Mon Sep 17 00:00:00 2001 From: SettingDust Date: Sat, 13 Oct 2018 19:01:56 +0800 Subject: [PATCH] Format code --- routes/universities/dlu/jiaowu/news.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/universities/dlu/jiaowu/news.js b/routes/universities/dlu/jiaowu/news.js index 046c81d57..8aba3a3ed 100644 --- a/routes/universities/dlu/jiaowu/news.js +++ b/routes/universities/dlu/jiaowu/news.js @@ -11,7 +11,6 @@ const base_url = 'http://jwc1.dlu.edu.cn/'; // 4: '/jwwj.htm', // 5: '/xxwj.htm' // }; - module.exports = async (ctx) => { // const type = ctx.params.type || '2'; // const link = `${base_url}${map[type]}`; @@ -19,6 +18,7 @@ module.exports = async (ctx) => { const response = await axios({ method: 'get', url: base_url, + // url:link, responseType: 'arraybuffer', headers: { Referer: base_url,