ThinkAdmin/app/data/view/payment/form_wechat.html
2020-12-15 11:21:45 +08:00

32 lines
2.6 KiB
PHP
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.

<label class="layui-form-item margin-bottom-20 block relative">
<span class="color-green font-w7 margin-right-10">绑定公众号</span>
<span class="color-desc margin-left-5">Bind WeChat Appid</span>
<input name="wechat_appid" required placeholder="请输入绑定公众号(必填)" value="{$vo.content.wechat_appid|default=''}" class="layui-input">
<span class="help-block">公众号APPID微信商户绑定的服务号APPID或小程序APPID</span>
</label>
<label class="layui-form-item margin-bottom-20 block relative">
<span class="color-green font-w7 margin-right-10">微信商户号</span>
<span class="color-desc margin-left-5">WeChat Payment Number</span>
<input name="wechat_mch_id" required placeholder="请输入微信商户ID必填" value="{$vo.content.wechat_mch_id|default=''}" class="layui-input">
<span class="help-block">微信商户编号,需要在微信商户平台获取,微信商户号 公众号APPID 匹配</span>
</label>
<label class="layui-form-item margin-bottom-20 block relative">
<span class="color-green font-w7 margin-right-10">微信商户密钥</span>
<span class="color-desc margin-left-5">WeChat Payment Secret Key</span>
<input name="wechat_mch_key" required maxlength="32" placeholder="请输入微信商户密钥(必填)" value="{$vo.content.wechat_mch_key|default=''}" class="layui-input">
<span class="help-block">微信商户密钥,需要在微信商户平台操作设置密码并获取密钥,建议定期更换密钥</span>
</label>
<label class="layui-form-item margin-bottom-20 block relative">
<span class="color-green font-w7">微信商户密钥文件内容</span><span class="nowrap color-desc"> 需要填写文件的全部内容 </span>
<textarea name="wechat_mch_key_text" placeholder="请输入微信KEY密钥内容" class="layui-textarea">{$vo.content.wechat_mch_key_text|default=''}</textarea>
<span class="help-block">从商户平台上下载支付证书,解压并取得其中的 apiclient_key.pem 用记事本打开并复制文件内容填至此处</span>
</label>
<label class="layui-form-item margin-bottom-20 block relative">
<span class="color-green font-w7">微信商户证书文件内容</span><span class="nowrap color-desc"> 需要填写文件的全部内容 </span>
<textarea name="wechat_mch_cert_text" placeholder="请输入微信CERT证书内容" class="layui-textarea">{$vo.content.wechat_mch_cert_text|default=''}</textarea>
<span class="help-block">从商户平台上下载支付证书,解压并取得其中的 apiclient_cert.pem 用记事本打开并复制文件内容填至此处</span>
</label>