index-store-message2.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <form onsubmit="return false;" data-auto="true" action="{:url('save')}" method="post" class='layui-form layui-card' autocomplete="off">
  2. <div class="layui-card-body padding-40">
  3. <label class="layui-form-item block relative">
  4. <span class="color-green margin-right-10">接口查询状态</span><span class="nowrap color-desc">UserState</span>
  5. {if empty($query2.code)}
  6. <p class="layui-input layui-bg-gray color-red">{$query2.msg|default=''}</p>
  7. {elseif $query2.code eq 1}
  8. <p class="layui-input layui-bg-gray color-green">平台剩余 {$query2.num|default=0} 元可用余额,{$query2.msg|default=''}</p>
  9. {else}
  10. <p class="layui-input layui-bg-gray color-text">没有结果</p>
  11. {/if}
  12. </label>
  13. <label class="layui-form-item margin-top-20 block relative">
  14. <span class="color-green margin-right-10">短信平台账号</span><span class="nowrap color-desc">Username</span>
  15. <input name="sms_zt_username2" required placeholder="请输入短信平台账号" value="{:sysconf('sms_zt_username2')}" class="layui-input">
  16. <p class="help-block">短信平台账号,可以联系18122377655获取账号与密码</p>
  17. </label>
  18. <label class="layui-form-item margin-top-20 block relative">
  19. <span class="color-green margin-right-10">短信平台密码</span><span class="nowrap color-desc">Password</span>
  20. <input name="sms_zt_password2" required placeholder="请输入短信平台密码" value="{:sysconf('sms_zt_password2')}" class="layui-input">
  21. <p class="help-block">短信平台密码,可以联系18122377655获取账号与密码</p>
  22. </label>
  23. <label class="layui-form-item margin-top-20 block relative">
  24. <span class="color-green margin-right-10">短信发送安全码</span><span class="nowrap color-desc">Secure</span>
  25. <input name="sms_secure2" required placeholder="请输入短信发送安全码" value="{:sysconf('sms_secure2')}" class="layui-input">
  26. <p class="help-block">短信发送安全码,调用接口发短信时需要传入此参数</p>
  27. </label>
  28. <label class="layui-form-item margin-top-20 block relative">
  29. <span class="color-green margin-right-10">注册短信模板</span><span class="nowrap color-desc">Template</span>
  30. <textarea class="layui-textarea" required name="sms_reg_template2" placeholder="请输入短信平台密码">{:sysconf('sms_reg_template2')}</textarea>
  31. <p class="help-block">会员注册短信模板,验证码变量使用 {code} 代替</p>
  32. </label>
  33. <div class="layui-form-item text-center margin-top-20">
  34. <button class="layui-btn" type="submit">保存配置</button>
  35. </div>
  36. </div>
  37. </form>