fix: 懂球帝 API 返回地址不一致的问题 (#5325)
This commit is contained in:
parent
5ce2cf8a27
commit
394ded25e2
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue