Merge pull request #6632 from nczitzk/patch-1

fix: 小黑盒游戏新闻原文链接
This commit is contained in:
NeverBehave 2021-01-10 01:13:38 -05:00 committed by GitHub
commit e653a353f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ module.exports = async (ctx) => {
// 存放到缓存区
ctx.cache.set(cacheKey, content);
news.description = content;
news.link = `https://api.xiaoheihe.cn/maxnews/app/share/detail/${newsId}`;
}
return Promise.resolve(news);