fix: 懂球帝 API 返回地址不一致的问题 (#5325)

This commit is contained in:
Henry Wang
2020-08-01 16:44:34 +01:00
committed by GitHub
parent 5ce2cf8a27
commit 394ded25e2
+1 -1
View File
@@ -12,7 +12,7 @@ module.exports = async (ctx) => {
const out = await Promise.all(
data.map(async (item) => {
const title = item.title;
const itemUrl = item.share;
const itemUrl = `https://www.dongqiudi.com/news/${item.id}.html`;
const cache = await ctx.cache.get(itemUrl);
if (cache) {