### {if condition="$Think.const.ACTION_NAME == 'conf_weixin'"} 微信小程序 {elseif condition="$Think.const.ACTION_NAME == 'conf_baidu'" /} 百度小程序 {elseif condition="in_array($Think.const.ACTION_NAME, ['conf_wechat','wechat_push_notice'])" /} 微信公众号 {elseif condition="$Think.const.ACTION_NAME == 'microsite'" /} 微站点 {else /} 开放API {/if}

#####

{if condition="in_array($Think.const.ACTION_NAME, ['conf_wechat','wechat_push_notice'])"} {include file="canal/wechat_bar" /} {/if}