From 04004bb76d7abfd37c6d7a88fe52a33c05de9caf Mon Sep 17 00:00:00 2001 From: DIYgod Date: Thu, 31 Oct 2019 15:29:27 +0800 Subject: [PATCH] fix: allow empty for smzdm ranking, close #3330 --- lib/routes/smzdm/ranking.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/routes/smzdm/ranking.js b/lib/routes/smzdm/ranking.js index 3159b28f1..5a9985db5 100644 --- a/lib/routes/smzdm/ranking.js +++ b/lib/routes/smzdm/ranking.js @@ -27,6 +27,7 @@ module.exports = async (ctx) => { ctx.state.data = { title: `${rank_type}榜-${rank_id}-${hour}小时`, link: 'https://www.smzdm.com/top/', + allowEmpty: true, item: list.map((item) => ({ title: `${item.article_title} - ${item.article_price}`, description: `${item.article_title} - ${item.article_price}
`,