实名认证需要补充省、市、及开户行
This commit is contained in:
parent
dd862cb5f5
commit
06d22250af
|
|
@ -181,17 +181,17 @@ public class AppController {
|
|||
if (StrUtil.isAllBlank(certName, certNum, accountNo, mobile)) {
|
||||
return Result.error("真实姓名、身份证号码、银行卡号、银行预留手机号缺一不可");
|
||||
}
|
||||
if (StrUtil.isAllBlank(province, city, bankBranch)) {
|
||||
/*if (StrUtil.isAllBlank(province, city, bankBranch)) {
|
||||
return Result.error("省、市、开户行缺一不可");
|
||||
}
|
||||
}*/
|
||||
// 已完成实名认证,补充开户行等信息
|
||||
if (certNum.contains("*") || accountNo.contains("*") || mobile.contains("*")) {
|
||||
userInfoService.update(null, Wrappers.<UserInfo>lambdaUpdate()
|
||||
/*userInfoService.update(null, Wrappers.<UserInfo>lambdaUpdate()
|
||||
.set(UserInfo::getProvince, province)
|
||||
.set(UserInfo::getCity, city)
|
||||
.set(UserInfo::getBankBranch, bankBranch)
|
||||
.set(UserInfo::getUpdateTime, new Date())
|
||||
.eq(UserInfo::getUserId, userId));
|
||||
.eq(UserInfo::getUserId, userId));*/
|
||||
return Result.success();
|
||||
}
|
||||
int count = userInfoService.count(Wrappers.<UserInfo>lambdaQuery()
|
||||
|
|
|
|||
Loading…
Reference in New Issue