fix(route/sspai): add body_extends in sspai tag route (#20709)

This commit is contained in:
Blank0120
2025-12-15 18:59:19 +08:00
committed by GitHub
parent 6b4e93bc40
commit bdabe6929c
+7
View File
@@ -52,6 +52,13 @@ async function handler(ctx) {
if (banner) {
description = `<img src="${banner}" alt="Article Cover Image" style="display: block; margin: 0 auto;"><br>`;
}
if (articleData.body_extends) {
for (const ext of articleData.body_extends) {
description += ext.body;
}
}
description += articleData.body;
return {