From e96f117bbb9984698b023e0d0d60586e41f68296 Mon Sep 17 00:00:00 2001 From: wwwwwwwww <526125649@qq.com> Date: Thu, 11 Jun 2026 18:16:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E6=94=AF=E4=BB=98=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/AdminPaymentConfig.tsx | 28 +++++++++++++------ 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/video-gen-admin/src/pages/AdminPaymentConfig.tsx b/video-gen-admin/src/pages/AdminPaymentConfig.tsx index c125f1c1..279aeb69 100644 --- a/video-gen-admin/src/pages/AdminPaymentConfig.tsx +++ b/video-gen-admin/src/pages/AdminPaymentConfig.tsx @@ -22,8 +22,10 @@ const AdminPaymentConfig: React.FC = () => { data.forEach((c: any) => { map[c.key] = c.value; }); form.setFieldsValue({ wechat_mch_id: map['payment_wechat_mch_id'] || '', - wechat_api_key: map['payment_wechat_api_key'] || '', - wechat_cert_path: map['payment_wechat_cert_path'] || '', + wechat_private_key: map['payment_wechat_private_key'] || '', + wechat_cert_serial_no: map['payment_wechat_cert_serial_no'] || '', + wechat_api_v3_key: map['payment_wechat_api_v3_key'] || '', + wechat_gateway: map['payment_wechat_gateway'] || '', wechat_notify_url: map['payment_wechat_notify_url'] || '', alipay_app_id: map['payment_alipay_app_id'] || '', alipay_private_key: map['payment_alipay_private_key'] || '', @@ -51,8 +53,10 @@ const AdminPaymentConfig: React.FC = () => { payment_mock: String(mockMode), payment_wechat_enabled: String(wechatEnabled), payment_wechat_mch_id: values.wechat_mch_id || '', - payment_wechat_api_key: values.wechat_api_key || '', - payment_wechat_cert_path: values.wechat_cert_path || '', + payment_wechat_private_key: values.wechat_private_key || '', + payment_wechat_cert_serial_no: values.wechat_cert_serial_no || '', + payment_wechat_api_v3_key: values.wechat_api_v3_key || '', + payment_wechat_gateway: values.wechat_gateway || '', payment_wechat_notify_url: values.wechat_notify_url || '', payment_alipay_enabled: String(alipayEnabled), payment_alipay_app_id: values.alipay_app_id || '', @@ -150,13 +154,19 @@ const AdminPaymentConfig: React.FC = () => {