mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 20:27:52 +08:00
fix: jike
This commit is contained in:
@@ -30,7 +30,7 @@ async function handler(ctx) {
|
|||||||
const data = await constructTopicEntry(ctx, topicUrl);
|
const data = await constructTopicEntry(ctx, topicUrl);
|
||||||
|
|
||||||
if (data) {
|
if (data) {
|
||||||
const result = ctx.get('data');
|
const result = data.result;
|
||||||
result.item = data.posts.map((item) => {
|
result.item = data.posts.map((item) => {
|
||||||
const date = dayjs(item.createdAt);
|
const date = dayjs(item.createdAt);
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ async function handler(ctx) {
|
|||||||
const data = await constructTopicEntry(ctx, topicUrl);
|
const data = await constructTopicEntry(ctx, topicUrl);
|
||||||
|
|
||||||
if (data) {
|
if (data) {
|
||||||
const result = ctx.get('data');
|
const result = data.result;
|
||||||
result.item = topicDataHanding(data, ctx);
|
result.item = topicDataHanding(data, ctx);
|
||||||
if (id === '553870e8e4b0cafb0a1bef68' || id === '55963702e4b0d84d2c30ce6f') {
|
if (id === '553870e8e4b0cafb0a1bef68' || id === '55963702e4b0d84d2c30ce6f') {
|
||||||
result.item = await Promise.all(
|
result.item = await Promise.all(
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ const constructTopicEntry = async (ctx, url) => {
|
|||||||
|
|
||||||
const topic = data.topic;
|
const topic = data.topic;
|
||||||
|
|
||||||
return {
|
data.result = {
|
||||||
title: `${topic.content} - 即刻圈子`,
|
title: `${topic.content} - 即刻圈子`,
|
||||||
link: url,
|
link: url,
|
||||||
description: topic.briefIntro,
|
description: topic.briefIntro,
|
||||||
|
|||||||
Reference in New Issue
Block a user