This commit is contained in:
SettingDust
2019-01-01 22:23:22 +08:00
parent 34a5c5383d
commit 9935767c62
2 changed files with 7 additions and 11 deletions
+6 -8
View File
@@ -24,13 +24,11 @@ module.exports = async (ctx) => {
ctx.state.data = {
title: `${personName}参与的作品`,
link,
item: works.map((c) => {
return {
title: `${personName}以${c.job}的身份参与了作品《${c.work}》`,
description: c.workInfo,
link: c.workURL,
pubDate: new Date(c.workInfo.substring(0, c.workInfo.indexOf(' /'))).toUTCString(),
};
}),
item: works.map((c) => ({
title: `${personName}以${c.job}的身份参与了作品《${c.work}》`,
description: c.workInfo,
link: c.workURL,
pubDate: new Date(c.workInfo.substring(0, c.workInfo.indexOf(' /'))).toUTCString(),
})),
};
};
+1 -3
View File
@@ -1,7 +1,5 @@
{
"text": [
"/"
],
"text": ["/"],
"rss": [
"/rsshub/rss",
"/bilibili/bangumi/21680",