栏目信息标签 Catinfo

    catinfo标签内数据为一维数组。

    使用示例

    1. {$catinfo.title}

    输出结果

    1. 公司资讯

    可用字段

    字段 名称 调用方法
    id 栏目ID {$catinfo.id}
    pid 栏目父级ID {$catinfo.pid}
    title 栏目标题 {$catinfo.title}
    alias 栏目别名(英文或拼音) {$catinfo.alias}
    keywords 栏目seo关键词 {$catinfo.keywords}
    description 栏目seo描述 {$catinfo.description}
    content 栏目内容 {$catinfo.content}

    以下数组结构中的字段都可以调用。

    数组结构

    1. Array
    2. (
    3. [id] => 2
    4. [pid] => 1
    5. [site_id] => 1
    6. [model_id] => 3
    7. [weighing] => 0
    8. [title] => 公司资讯
    9. [alias] => af
    10. [keywords] =>
    11. [description] =>
    12. [content] =>
    13. [list_tpl] => list
    14. [detail_tpl] => detail
    15. [status] => 1
    16. [create_at] =>
    17. [update_at] => 1530772160
    18. [url] => http://cms.shuotuo.net/category/af
    19. )