|
|
@@ -126,7 +126,7 @@ public class IdentityAuthService {
|
|
|
boolean success = false;
|
|
|
String reason = null;
|
|
|
|
|
|
- if (!Pattern.matches("[1-9]{1}[0-9]{5}(19|20)[0-9]{2}((0[1-9]{1})|(1[0-2]{1}))((0[1-9]{1})|([1-2]{1}[0-9]{1}|(3[0-1]{1})))[0-9]{3}[0-9x]{1}", identityAuth.getIdNo())) {
|
|
|
+ if (!Pattern.matches("[1-9]{1}[0-9]{5}(19|20)[0-9]{2}((0[1-9]{1})|(1[0-2]{1}))((0[1-9]{1})|([1-2]{1}[0-9]{1}|(3[0-1]{1})))[0-9]{3}[0-9x]{1}", identityAuth.getIdNo().toLowerCase())) {
|
|
|
audit(identityAuth.getId(), AuthStatus.FAIL, "身份证格式错误");
|
|
|
return;
|
|
|
} else {
|