feat: utgd add premium identification (#14163)
This commit is contained in:
parent
c058d6a00c
commit
8dcbbb50ec
|
|
@ -47,6 +47,7 @@ module.exports = async (ctx) => {
|
|||
title: item.title,
|
||||
link: `${rootUrl}/article/${item.id}`,
|
||||
description: art(path.join(__dirname, 'templates/description.art'), {
|
||||
membership: item.article_for_membership,
|
||||
image: item.article_image,
|
||||
description: md.render(item.article_description),
|
||||
}),
|
||||
|
|
|
|||
|
|
@ -2,6 +2,10 @@
|
|||
<img src="{{ image }}">
|
||||
<br>
|
||||
{{ /if }}
|
||||
{{ if membership }}
|
||||
<br>
|
||||
UNTAG Premium
|
||||
{{ /if }}
|
||||
{{ if description }}
|
||||
{{@ description }}
|
||||
{{ /if }}
|
||||
{{ /if }}
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ module.exports = async (ctx) => {
|
|||
title: item.title,
|
||||
link: `${rootUrl}/article/${item.id}`,
|
||||
description: art(path.join(__dirname, 'templates/description.art'), {
|
||||
membership: data.article_for_membership,
|
||||
image: item.article_image,
|
||||
description: md.render(data.article_description),
|
||||
}),
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ module.exports = async (ctx) => {
|
|||
title: item.title,
|
||||
link: `${rootUrl}/article/${item.id}`,
|
||||
description: art(path.join(__dirname, 'templates/description.art'), {
|
||||
membership: item.article_for_membership,
|
||||
image: item.article_image,
|
||||
description: md.render(detailResponse.data.article_description),
|
||||
}),
|
||||
|
|
|
|||
Loading…
Reference in New Issue