feat: item suffix

This commit is contained in:
DIYgod 2019-12-09 19:12:59 +08:00
parent 4629245dff
commit 940bbbdff8
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
2 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@ const calculateValue = () => {
},
},
nodeName: envs.NODE_NAME,
suffix: envs.SUFFIX,
pixiv: {
username: envs.PIXIV_USERNAME,
password: envs.PIXIV_PASSWORD,

View File

@ -110,7 +110,7 @@ module.exports = async (ctx, next) => {
$ele.removeAttr(e);
});
});
item.description = he.decode($('body').html() + '');
item.description = he.decode($('body').html() + '') + (config.suffix || '');
}
});