This commit is contained in:
zmj 2023-11-16 16:40:25 +08:00
parent 59e59d32bf
commit 7ef88f0e0e
1 changed files with 14 additions and 0 deletions

View File

@ -60,7 +60,14 @@
微信支付证书apiclient_cert.pem前往微信商家平台生成并黏贴至此处
</span>
</el-form-item>
<el-form-item label="微信支付平台证书" required prop="config.platform_certs">
<el-input type="textarea" rows="3" v-model="formData.config.platform_certs"
placeholder="微信支付平台证书" />
<span class="form-tips">
微信支付平台证书platform_certs前往微信商家平台生成并黏贴至此处
</span>
</el-form-item>
<el-form-item label="微信支付证书密钥" prop="config.apiclient_key">
<el-input type="textarea" rows="3" v-model="formData.config.apiclient_key"
placeholder="请输入微信支付证书密钥" />
@ -174,6 +181,7 @@ const formData = reactive({
pay_sign_key: '',
apiclient_cert: '',
apiclient_key: '',
platform_certs: "",
mode: '',
app_id: '',
private_key: '',
@ -206,6 +214,12 @@ const formRules: FormRules = {
message: '请输入微信支付证书'
}
],
'config.platform_certs': [
{
required: true,
message: '请输入微信支付平台证书'
}
],
'config.apiclient_key': [
{
required: true,