diff --git a/src/views/pay/app/components/channel/AlipayChannelForm.vue b/src/views/pay/app/components/channel/AlipayChannelForm.vue index 169ef8ea..579d1eed 100644 --- a/src/views/pay/app/components/channel/AlipayChannelForm.vue +++ b/src/views/pay/app/components/channel/AlipayChannelForm.vue @@ -4,7 +4,7 @@ @@ -156,6 +156,20 @@ + + + + AES + 无加密 + + + +
+ + + +
+ @@ -195,7 +209,9 @@ const formData = ref({ alipayPublicKey: '', appCertContent: '', alipayPublicCertContent: '', - rootCertContent: '' + rootCertContent: '', + encryptType: '', + encryptKey: '', } }) const formRules = { @@ -213,7 +229,8 @@ const formRules = { 'config.alipayPublicCertContent': [ { required: true, message: '请上传支付宝公钥证书', trigger: 'blur' } ], - 'config.rootCertContent': [{ required: true, message: '请上传指定根证书', trigger: 'blur' }] + 'config.rootCertContent': [{ required: true, message: '请上传指定根证书', trigger: 'blur' }], + 'config.encryptKey': [{required: true, message: '请输入接口内容加密密钥', trigger: 'blur'}], } const fileAccept = '.crt' const formRef = ref() // 表单 Ref @@ -281,7 +298,9 @@ const resetForm = (appId, code) => { alipayPublicKey: '', appCertContent: '', alipayPublicCertContent: '', - rootCertContent: '' + rootCertContent: '', + encryptType: 'AES', + encryptKey: '', } } formRef.value?.resetFields()