mirror of
https://gitee.com/bootx/dax-pay-ui
synced 2026-08-12 15:35:39 +08:00
refactor(auth): 调试授权参数去掉遗留 channel 字段
与后端 GenerateAuthUrlParam 对齐,通道认证调试只传 authType / product / channelMchNo。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -70,8 +70,6 @@ export interface AuthResult {
|
||||
|
||||
/** 微信支付授权链接参数 */
|
||||
export interface ChannelAuthUrlParam {
|
||||
/** 通道(固定 wechat) */
|
||||
channel: string;
|
||||
/** 认证类型(固定 wechat) */
|
||||
authType: string;
|
||||
/** 支付产品(wechat_pay 直连 / wechat_isv 服务商), 可选, 缺失时后端从通道商户号反查 */
|
||||
|
||||
@@ -211,7 +211,6 @@
|
||||
: authType.value === 'douyin'
|
||||
? DevelopAuthApi.generateDouyinAuthUrl()
|
||||
: DevelopAuthApi.generateChannelAuthUrl({
|
||||
channel: 'wechat',
|
||||
authType: 'wechat',
|
||||
mchNo: form.mchNo,
|
||||
channelMchNo: form.channelMchNo,
|
||||
|
||||
Reference in New Issue
Block a user