<@cms_catalog>

栏目列表标签

标签名

<@cms_catalog>

标签描述

获取栏目数据列表,内嵌<#list DataList as catalog>${catalog.name}</#list>遍历数据

标签属性

属性名类型必填可用值描述默认值
pageBOOLEANtrue=是
false=否
是否分页获取数据false
sizeINTEGER (分页)数据条数,默认:10
conditionSTRING 扩展sql条件语句,例如:title like 'a%'
idINTEGER 栏目ID
aliasSTRING 栏目别名
levelSTRINGRoot=所有栏目
Current=同级栏目
Child=子栏目
CurrentAndChild=当前栏目及子栏目
Self=当前栏目
数据获取范围,值为Root时忽略属性idaliasCurrent

标签数据属性

属性名描述类型
alias栏目别名String
ancestors祖级栏目IDsString
catalogId栏目IDLong
catalogType栏目类型String
childCount子栏目数Integer
configProps扩展配置Map<String, String>
contentCount内容数量Integer
createBy创建人String
createTime创建时间LocalDateTime
deptCode所属部门编码String
description栏目简介String
link栏目首页链接String
listLink栏目列表页链接(无首页模板时与首页链接一致)String
logo栏目引导图String
logoSrc栏目引导图访问路径String
name栏目名称String
parentId父级栏目IDLong
path栏目目录String
redirectUrl标题栏目跳转地址String
remark备注String
seoDescriptionSEO描述String
seoKeywordsSEO关键词String
seoTitleSEO标题String
siteId站点IDLong
sortFlag排序值Long
treeLevel栏目层级Integer
updateBy最后修改人String
updateTime最后修改时间LocalDateTime

内容导航