fix:分销提现到银行卡时,缺少 userAccount 的问题

This commit is contained in:
YunaiV
2025-07-21 19:56:03 +08:00
parent 5d5a4ba39c
commit ccc7b7ff3c

View File

@@ -237,7 +237,7 @@
if (state.accountInfo.type === '5') {
data.userAccount = openid;
data.transferChannelCode = getWeixinPayChannelCode();
} else if (state.accountInfo.type === '6') {
} else if (state.accountInfo.type === '6' || state.accountInfo.type === '2') {
delete data.transferChannelCode;
} else {
delete data.userAccount;