Commit 2c64b6b5 authored by Java—红包—徐 然's avatar Java—红包—徐 然

Merge branch 'master' into https

parents e5770ec5 78d618a3
......@@ -821,7 +821,13 @@ public class InnerController implements IBaseController {
if (StringUtils.isBlank(name)) {
return JsonResult.buildErrorStateResult("用户名异常.", null);
}
if (!NumberUtils.isDigits(idNo)) {
boolean isIdCard = true;
try {
isIdCard = idCardService.isIdCardValid(idNo);
} catch (ParseException e) {
isIdCard = false;
}
if (!isIdCard) {
return JsonResult.buildErrorStateResult("用户身份证号异常.", null);
}
if (!NumberUtils.isDigits(provinceCode)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment