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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

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 {