fix(route/sspai): add body_extends in sspai tag route (#20709)
This commit is contained in:
parent
6b4e93bc40
commit
bdabe6929c
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue