From 6afcfdd50c35ec9e1d7bbd94c0a3be9bf1b3bad8 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 15 Aug 2024 21:52:32 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91=E6=94=AF=E6=8C=81=E9=98=BF=E9=87=8C=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E5=8A=A0=E5=AF=86=EF=BC=8C=E5=90=8C=E6=97=B6?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=94=AF=E4=BB=98=E5=AE=9D=E6=B8=A0=E9=81=93?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=89=8D=E7=AB=AF=E6=A0=A1=E9=AA=8C=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98=20#IAKCU4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/channel/AlipayChannelForm.vue | 27 ++++++++++++++++--- 1 file changed, 23 insertions(+), 4 deletions(-) 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()