This commit is contained in:
parent
59e59d32bf
commit
7ef88f0e0e
|
@ -60,7 +60,14 @@
|
||||||
微信支付证书(apiclient_cert.pem),前往微信商家平台生成并黏贴至此处
|
微信支付证书(apiclient_cert.pem),前往微信商家平台生成并黏贴至此处
|
||||||
</span>
|
</span>
|
||||||
</el-form-item>
|
</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-form-item label="微信支付证书密钥" prop="config.apiclient_key">
|
||||||
<el-input type="textarea" rows="3" v-model="formData.config.apiclient_key"
|
<el-input type="textarea" rows="3" v-model="formData.config.apiclient_key"
|
||||||
placeholder="请输入微信支付证书密钥" />
|
placeholder="请输入微信支付证书密钥" />
|
||||||
|
@ -174,6 +181,7 @@ const formData = reactive({
|
||||||
pay_sign_key: '',
|
pay_sign_key: '',
|
||||||
apiclient_cert: '',
|
apiclient_cert: '',
|
||||||
apiclient_key: '',
|
apiclient_key: '',
|
||||||
|
platform_certs: "",
|
||||||
mode: '',
|
mode: '',
|
||||||
app_id: '',
|
app_id: '',
|
||||||
private_key: '',
|
private_key: '',
|
||||||
|
@ -206,6 +214,12 @@ const formRules: FormRules = {
|
||||||
message: '请输入微信支付证书'
|
message: '请输入微信支付证书'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
'config.platform_certs': [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '请输入微信支付平台证书'
|
||||||
|
}
|
||||||
|
],
|
||||||
'config.apiclient_key': [
|
'config.apiclient_key': [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
|
|
Loading…
Reference in New Issue