thinkphp 3.2 模板 if 语法

文章目录

    thinkphp 3.2 模板 if 语法列表:

    字符串比对

    使用 eq / neq

    <if condition="$Think.session.site eq '阿里云'">
       <h1>阿里云</h1>
    </if>