thinkjphp 模板中获取url中的action

<if condition="ACTION_NAME eq 'add'">新增<else/>编辑</if>

  

原文地址:https://www.cnblogs.com/bushe/p/4968905.html