From 8eff76cd2a62ffa8bf6be69b93ceb73223972293 Mon Sep 17 00:00:00 2001 From: fanfan Date: Wed, 31 Jul 2024 23:24:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/setting/payment/template/Create.vue | 190 +++++++++++------- src/views/setting/payment/template/Update.vue | 24 +-- 2 files changed, 124 insertions(+), 90 deletions(-) diff --git a/src/views/setting/payment/template/Create.vue b/src/views/setting/payment/template/Create.vue index bd3e613..95738e8 100644 --- a/src/views/setting/payment/template/Create.vue +++ b/src/views/setting/payment/template/Create.vue @@ -354,7 +354,7 @@ -
+
普通商户 - 子商户 (服务商模式) +
- -
+ + + + + + - + - -
- "微信支付商户平台"" - "账户中心" - "API安全" - "设置API密钥" -
+
- -
+ + + + + + + +
- -
+ + - - -
+ + + + + + - - -
- "微信支付商户平台"" - "账户中心" - "API安全" - "设置API密钥" -
+
- -
+ + + + + + + + + - 微信支付的商户号,纯数字格式;例如:1600000109
-
+ -->
@@ -554,20 +583,25 @@ const defaultData = { merchantPrivateKey: '', }, [PaymentMethodEnum.HUIFU.value]: { - // 微信商户号类型(normal普通商户 provider子商户) mchType: 'normal', normal: { sysId: '', - productId: '', - rsaMerchPrivateKey: '', - rsaHuifuPublicKey: '', + appkey: '', + mid: '', + tid: '', + msgSrcId: '', + msgSrc: '', + md5Secret: '', }, provider: { sysId: '', - productId: '', - rsaMerchPrivateKey: '', - rsaHuifuPublicKey: '', - // spSysId: '', + syAppkey: '', + syMid: '', + syTid: '', + syMsgSrcId: '', + syMsgSrc: '', + syMd5Secret: '', + // spAppid: '', // spProductId: '', // spRsaMerchPrivateKey: '', // spRsaHuifuPublicKey: '', diff --git a/src/views/setting/payment/template/Update.vue b/src/views/setting/payment/template/Update.vue index ad23168..0a7f806 100644 --- a/src/views/setting/payment/template/Update.vue +++ b/src/views/setting/payment/template/Update.vue @@ -371,11 +371,11 @@ :rules="[{ required: true, message: '请填写APPID' }]" > -
+ -
+ -
+
@@ -437,9 +437,9 @@ :rules="[{ required: true, message: '请填写APPID' }]" > -
+ -
+ -
+