From 7c749d9b89aa42da4a296e9cbdad604fe2fcf6ab Mon Sep 17 00:00:00 2001 From: DaxPay Dev Date: Wed, 22 Jul 2026 17:38:21 +0800 Subject: [PATCH] =?UTF-8?q?refactor(auth):=20=E8=B0=83=E8=AF=95=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E5=8F=82=E6=95=B0=E5=8E=BB=E6=8E=89=E9=81=97=E7=95=99?= =?UTF-8?q?=20channel=20=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 与后端 GenerateAuthUrlParam 对齐,通道认证调试只传 authType / product / channelMchNo。 Co-authored-by: Cursor --- apps/daxpay-admin/src/api/payment/develop/developAuth.api.ts | 2 -- .../daxpay-admin/src/views/payment/develop/auth/ChannelAuth.vue | 1 - 2 files changed, 3 deletions(-) diff --git a/apps/daxpay-admin/src/api/payment/develop/developAuth.api.ts b/apps/daxpay-admin/src/api/payment/develop/developAuth.api.ts index bcc2d3ecb..ef8b0191d 100644 --- a/apps/daxpay-admin/src/api/payment/develop/developAuth.api.ts +++ b/apps/daxpay-admin/src/api/payment/develop/developAuth.api.ts @@ -70,8 +70,6 @@ export interface AuthResult { /** 微信支付授权链接参数 */ export interface ChannelAuthUrlParam { - /** 通道(固定 wechat) */ - channel: string; /** 认证类型(固定 wechat) */ authType: string; /** 支付产品(wechat_pay 直连 / wechat_isv 服务商), 可选, 缺失时后端从通道商户号反查 */ diff --git a/apps/daxpay-admin/src/views/payment/develop/auth/ChannelAuth.vue b/apps/daxpay-admin/src/views/payment/develop/auth/ChannelAuth.vue index 243d4a6f2..0b56ee370 100644 --- a/apps/daxpay-admin/src/views/payment/develop/auth/ChannelAuth.vue +++ b/apps/daxpay-admin/src/views/payment/develop/auth/ChannelAuth.vue @@ -211,7 +211,6 @@ : authType.value === 'douyin' ? DevelopAuthApi.generateDouyinAuthUrl() : DevelopAuthApi.generateChannelAuthUrl({ - channel: 'wechat', authType: 'wechat', mchNo: form.mchNo, channelMchNo: form.channelMchNo,