实名认证需要补充省、市、及开户行

This commit is contained in:
Tankaikai 2025-03-21 15:59:00 +08:00
parent ca995858c8
commit dd862cb5f5
2 changed files with 11 additions and 9 deletions

View File

@ -573,12 +573,14 @@ public class CashOutServiceImpl extends ServiceImpl<CashOutDao, CashOut> impleme
if (StrUtil.isEmpty(userDetailInfo.getAccountNo()) || StrUtil.isEmpty(userDetailInfo.getMobile())) {
return Result.error(9991, "需重新完成实名认证后才可提现!");
}
if (StrUtil.isEmpty(userDetailInfo.getProvince())
|| StrUtil.isEmpty(userDetailInfo.getCity())
|| StrUtil.isEmpty(userDetailInfo.getBankBranch())
) {
return Result.error(9991, "请补充实名认证信息后提现!");
}
//if (StrUtil.isEmpty(userDetailInfo.getProvince())
// || StrUtil.isEmpty(userDetailInfo.getCity())
// || StrUtil.isEmpty(userDetailInfo.getBankBranch())
//) {
// return Result.error(9991, "请补充实名认证信息后提现!");
//}
if (StrUtil.isEmpty(userDetailInfo.getBankName()) && StrUtil.isNotEmpty(userDetailInfo.getRespJson())) {
userDetailInfo.setBankName(getBankName(userDetailInfo.getRespJson()));
userInfoService.updateById(userDetailInfo);

View File

@ -212,9 +212,9 @@ public class WuyouPay {
params.put("city", "1");
} else {
params.put("bank_name", isUser ? bankName : "1");
params.put("bank_branch", bankBranch);
params.put("province", province);
params.put("city", city);
params.put("bank_branch", StrUtil.emptyToDefault(bankBranch, "1"));
params.put("province", StrUtil.emptyToDefault(province, "1"));
params.put("city", StrUtil.emptyToDefault(city, "1"));
}
params.put("notify_url", extractNotifyUrl);