fix(route/sspai): add body_extends in sspai tag route (#20709)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user