身份证校验 bug
This commit is contained in:
@@ -167,6 +167,7 @@ public class AppController {
|
|||||||
@RequestParam String accountNo,
|
@RequestParam String accountNo,
|
||||||
@RequestParam String mobile
|
@RequestParam String mobile
|
||||||
) {
|
) {
|
||||||
|
certNum = certNum.trim();
|
||||||
if (StrUtil.isAllBlank(certName, certNum, accountNo, mobile)) {
|
if (StrUtil.isAllBlank(certName, certNum, accountNo, mobile)) {
|
||||||
return Result.error("真实姓名、身份证号码、银行卡号、银行预留手机号缺一不可");
|
return Result.error("真实姓名、身份证号码、银行卡号、银行预留手机号缺一不可");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user