<@cms_content_closest>

内容前后篇标签

标签名

<@cms_content_closest>

标签描述

内容前后篇标签,仅支持指定内容当前栏目列表,标签体内可使用${Data.title}获取数据

标签属性

属性名类型必填可用值描述默认值
pageBOOLEANtrue=是
false=否
是否分页获取数据false
sizeINTEGER (分页)数据条数,默认:10
conditionSTRING 扩展sql条件语句,例如:title like 'a%'
contentidINTEGER 內容ID
typeSTRINGPrev=上一篇
Next=下一篇
类型Prev
catalogidINTEGER 栏目ID
catalogaliasSTRING 栏目别名
levelSTRINGRoot=所有栏目
Current=当前栏目
Child=子栏目
CurrentAndChild=当前栏目及子栏目
数据获取范围,值为Root时忽略属性catalogidcatalogaliasCurrent
sortSTRINGRecent=发布时间降序
Views=浏览量降序
Default=排序字段降序(默认)
排序方式Default
hasattributeSTRING 包含内容属性,多个属性英文逗号分隔
noattributeSTRING 不包含内容属性,多个属性英文逗号分隔
statusSTRING 状态,'-1'表示不限制状态
topflagBOOLEANtrue=是
false=否
是否允许置顶true

标签数据属性

属性名描述类型
attributes内容属性标识列表String[]
author作者String
catalogAncestors所属栏目祖级IDsString
catalogId所属栏目IDLong
commentCount评论数(非实时)Long
contentId内容IDLong
contentType内容类型String
contributorId投稿用户IDLong
createBy创建人String
createTime创建时间LocalDateTime
deptCode所属部门编码String
deptId所属部门IDLong
editor编辑String
favoriteCount收藏数(非实时)Long
images封面图列表List<String>
keywords关键词String[]
likeCount点赞数(非实时)Long
link内容链接String
linkFlag是否链接内容String
logo封面图String
logoSrc封面图访问路径String
original是否原创String
prop1备用字段1String
prop2备用字段2String
prop3备用字段3String
prop4备用字段4String
publishDate发布时间LocalDateTime
redirectUrl跳转链接String
remark备注String
seoDescriptionSEO描述String
seoKeywordsSEO关键词String
seoTitleSEO标题String
shortTitle短标题String
siteId所属站点IDLong
sortFlag排序值Long
source来源String
sourceUrl来源URLString
status内容状态String
subTitle副标题String
summary摘要String
tagsTAGsString[]
title标题String
titleStyle短标题String
topCatalog所属顶级栏目IDLong
topDate置顶结束时间LocalDateTime
topFlag置顶标识Long
updateBy最后修改人String
updateTime最后修改时间LocalDateTime
viewCount文章浏览数(非实时)Long

内容导航