form_wechat.html 2.6 KB

1234567891011121314151617181920212223242526272829303132
  1. <label class="layui-form-item block relative">
  2. <span class="color-green font-w7">绑定公众号</span>
  3. <span class="color-desc margin-left-5">Bind WeChat Appid</span>
  4. <input class="layui-input" maxlength="18" name="wechat_appid" pattern="^wx[0-9a-z]{16}$" placeholder="请输入18位绑定公众号(必填)" required value="{$vo.content.wechat_appid|default=''}">
  5. <span class="help-block">公众号APPID,微信商户绑定的服务号APPID或小程序APPID</span>
  6. </label>
  7. <label class="layui-form-item block relative">
  8. <span class="color-green font-w7">微信商户号</span>
  9. <span class="color-desc margin-left-5">WeChat Payment Number</span>
  10. <input class="layui-input" name="wechat_mch_id" placeholder="请输入微信商户号(必填)" required value="{$vo.content.wechat_mch_id|default=''}">
  11. <span class="help-block">微信商户编号,需要在微信商户平台获取,微信商户号 与 公众号APPID 匹配</span>
  12. </label>
  13. <label class="layui-form-item block relative">
  14. <span class="color-green font-w7">微信商户密钥</span>
  15. <span class="color-desc margin-left-5">WeChat Payment Secret Key</span>
  16. <input class="layui-input" maxlength="32" name="wechat_mch_key" pattern=".{32}" placeholder="请输入32位微信商户密钥(必填)" required value="{$vo.content.wechat_mch_key|default=''}">
  17. <span class="help-block">微信商户密钥,需要在微信商户平台操作设置密码并获取密钥,建议定期更换密钥</span>
  18. </label>
  19. <label class="layui-form-item layui-hide relative">
  20. <span class="color-green font-w7">微信商户密钥文件内容</span><span class="nowrap color-desc">( 需要填写文件的全部内容 )</span>
  21. <textarea class="layui-textarea" name="wechat_mch_key_text" placeholder="请输入微信KEY密钥内容">{$vo.content.wechat_mch_key_text|default=''}</textarea>
  22. <span class="help-block">从商户平台上下载支付证书,解压并取得其中的 apiclient_key.pem 用记事本打开并复制文件内容填至此处</span>
  23. </label>
  24. <label class="layui-form-item layui-hide relative">
  25. <span class="color-green font-w7">微信商户证书文件内容</span><span class="nowrap color-desc">( 需要填写文件的全部内容 )</span>
  26. <textarea class="layui-textarea" name="wechat_mch_cert_text" placeholder="请输入微信CERT证书内容">{$vo.content.wechat_mch_cert_text|default=''}</textarea>
  27. <span class="help-block">从商户平台上下载支付证书,解压并取得其中的 apiclient_cert.pem 用记事本打开并复制文件内容填至此处</span>
  28. </label>