提现区分支付宝和银行卡

This commit is contained in:
GYJ 2025-03-01 16:01:04 +08:00
parent f092995e02
commit 5c8f2b3be4
1 changed files with 7 additions and 2 deletions

View File

@ -576,8 +576,13 @@ public class CashOutServiceImpl extends ServiceImpl<CashOutDao, CashOut> impleme
userInfoService.removeById(userDetailInfo.getId());
return Result.error(9991, "需重新完成实名认证后才可提现!");
}
if (isAlipay) {
alipayAccount = userInfo.getZhiFuBao();
alipayName = userInfo.getZhiFuBaoName();
} else {
alipayAccount = userDetailInfo.getAccountNo();
alipayName = userDetailInfo.getCertName();
}
bankName = userDetailInfo.getBankName();
withdrawCheckNameSet.add(alipayName);
}