refactor(auth): 调试授权参数去掉遗留 channel 字段

与后端 GenerateAuthUrlParam 对齐,通道认证调试只传 authType / product / channelMchNo。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
DaxPay Dev
2026-07-22 17:38:21 +08:00
parent 4397d43eff
commit 7c749d9b89
2 changed files with 0 additions and 3 deletions

View File

@@ -70,8 +70,6 @@ export interface AuthResult {
/** 微信支付授权链接参数 */
export interface ChannelAuthUrlParam {
/** 通道(固定 wechat) */
channel: string;
/** 认证类型(固定 wechat) */
authType: string;
/** 支付产品(wechat_pay 直连 / wechat_isv 服务商), 可选, 缺失时后端从通道商户号反查 */

View File

@@ -211,7 +211,6 @@
: authType.value === 'douyin'
? DevelopAuthApi.generateDouyinAuthUrl()
: DevelopAuthApi.generateChannelAuthUrl({
channel: 'wechat',
authType: 'wechat',
mchNo: form.mchNo,
channelMchNo: form.channelMchNo,