{include file="public/layout" /}

### 云短信

#####

{eq name="'System@sms'|is_check_access" value="1"}
- 短信配置
{/eq} {eq name="'System@sms_tpl'|is_check_access" value="1"}
- 自定义模板
{/eq}

{empty name='$is_conf'}

- 提示：短信尚未配置信息，全站短信功能将无法使用。

{/empty}

模板类型 {if condition="$sms_type != 3"} | 签名名称 {/if} {if condition="$show_sms_tpl_code === true"} | {eq name="$sms_type" value="1"}模板CODE{else /}模板id{/eq} {/if} | 模板内容 | 接收人
--- | --- | --- | --- | ---

{empty name="list"}
{else/} {foreach name="list" item="vo" key="k" }
{$vo.tpl_title} {if condition="$sms_type != 3"} | {php} $disabled_str = ''; $web_users_switch = !empty($global['web_users_switch']) ? $global['web_users_switch'] : 0; if ((empty($shop_open) || $php_servicemeal <= 1) && in_array($vo['send_scene'], [5,6])) { $disabled_str = 'disabled="disabled" title="请开启商城中心"'; } else if (empty($web_users_switch) && in_array($vo['send_scene'], [0,1,4])) { $disabled_str = 'disabled="disabled" title="请开启会员中心"'; } else if (in_array($vo['send_scene'], [30])) { $disabled_str = 'title="仅限于后台登录的双因子验证"'; } {/php} {/if} {if condition="$show_sms_tpl_code === true"} | {/if} | {if condition="$vo.send_scene == 11" /} {else /} {/if} | {if condition="in_array($vo.send_scene,[11, 5, 20, 30])"} 站长 {else /} 用户 {/if}
{/foreach} {/empty}

{include file="public/page" /}
{include file="public/footer" /}