fix: allow empty for smzdm ranking, close #3330

This commit is contained in:
DIYgod 2019-10-31 15:29:27 +08:00
parent 0ac1cbb274
commit 04004bb76d
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
1 changed files with 1 additions and 0 deletions

View File

@ -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}<br><img src="${item.article_pic}">`,