<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <!-- 首页 -->
    <url>
        <loc>{SITE_URL}</loc>
        <changefreq>daily</changefreq>
        <priority>1.0</priority>
    </url>

    <!-- 所有栏目页 -->
    {category module=share pid=0}
    <url>
        <loc>{SITE_URL}{$t.url}</loc>
        <changefreq>daily</changefreq>
        <priority>0.8</priority>
    </url>
    {if $t.child}
    {category module=share pid=$t.id return=t2}
    <url>
        <loc>{SITE_URL}{$t2.url}</loc>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>
    {/category}
    {/if}
    {/category}

    <!-- 产品 -->
    {module module=share catid=173 order=displayorder_asc,inputtime}
    <url>
        <loc>{SITE_URL}{$t.url}</loc>
        <lastmod>{dr_date($t._updatetime, 'Y-m-d')}</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.8</priority>
    </url>
    {/module}

    <!-- 案例 -->
    {module module=share catid=187 order=displayorder_asc,inputtime}
    <url>
        <loc>{SITE_URL}{$t.url}</loc>
        <lastmod>{dr_date($t._updatetime, 'Y-m-d')}</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>
    {/module}

    <!-- 解决方案 -->
    {module module=share catid=162 order=displayorder_asc,inputtime}
    <url>
        <loc>{SITE_URL}{$t.url}</loc>
        <lastmod>{dr_date($t._updatetime, 'Y-m-d')}</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>
    {/module}

    <!-- 新闻资讯 -->
    {module module=news catid=201,202 order=displayorder_asc,inputtime num=100}
    <url>
        <loc>{SITE_URL}{$t.url}</loc>
        <lastmod>{dr_date($t._updatetime, 'Y-m-d')}</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.5</priority>
    </url>
    {/module}
</urlset>
