fix: 简阅(simpread) 格式美化

This commit is contained in:
zytomorrow 2021-01-08 15:06:05 +08:00
parent f17c4e92b8
commit ce132be12e
1 changed files with 2 additions and 2 deletions

View File

@ -7,11 +7,11 @@ module.exports = async (ctx) => {
const data = response.data.notice;
ctx.state.data = {
title: 'SimpRead 消息通知',
link: url,
link: 'http://ksria.com/simpread/changelog.html',
description: 'SimpRead 消息通知',
item: data.map((item) => ({
description: md.render(item.content),
link: url,
link: 'http://ksria.com/simpread/changelog.html',
pubDate: item.date,
title: `${item.category.name}-${item.title}`,
author: 'SimpRead',