ThinkAdmin/application/store/view/config/index-store-message1.html
2019-07-18 16:31:55 +08:00

46 lines
2.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<form onsubmit="return false;" data-auto="true" action="{:url('save')}" method="post" class='layui-form layui-card' autocomplete="off">
<div class="layui-card-body padding-40">
<label class="layui-form-item block relative">
<span class="color-green margin-right-10">接口查询状态</span><span class="nowrap color-desc">UserState</span>
{if empty($query.code)}
<p class="layui-input layui-bg-gray color-red">{$query.msg|default=''}</p>
{elseif $query.code eq 1}
<p class="layui-input layui-bg-gray color-green">平台剩余 {$query.num|default=0} 条可用短信,{$query.msg|default=''}</p>
{else}
<p class="layui-input layui-bg-gray color-text">没有结果</p>
{/if}
</label>
<label class="layui-form-item margin-top-20 block relative">
<span class="color-green margin-right-10">短信平台账号</span><span class="nowrap color-desc">Username</span>
<input name="sms_zt_username" required placeholder="请输入助通短信平台账号" value="{:sysconf('sms_zt_username')}" class="layui-input">
<p class="help-block">短信平台账号可以联系18122377655获取账号与密码</p>
</label>
<label class="layui-form-item margin-top-20 block relative">
<span class="color-green margin-right-10">短信平台密码</span><span class="nowrap color-desc">Password</span>
<input name="sms_zt_password" required placeholder="请输入助通短信平台密码" value="{:sysconf('sms_zt_password')}" class="layui-input">
<p class="help-block">短信平台密码可以联系18122377655获取账号与密码</p>
</label>
<label class="layui-form-item margin-top-20 block relative">
<span class="color-green margin-right-10">短信发送安全码</span><span class="nowrap color-desc">Secure</span>
<input name="sms_secure" required placeholder="请输入短信发送安全码" value="{:sysconf('sms_secure')}" class="layui-input">
<p class="help-block">短信发送安全码,调用接口发短信时需要传入此参数</p>
</label>
<label class="layui-form-item margin-top-20 block relative">
<span class="color-green margin-right-10">注册短信模板</span><span class="nowrap color-desc">Template</span>
<textarea class="layui-textarea" required name="sms_reg_template" placeholder="请输入助通短信平台密码">{:sysconf('sms_reg_template')}</textarea>
<p class="help-block">会员注册短信模板,验证码变量使用 {code} 代替</p>
</label>
<div class="layui-form-item text-center margin-top-20">
<button class="layui-btn" type="submit">保存配置</button>
</div>
</div>
</form>