Sfoglia il codice sorgente

core 手机号格式校验

master
chenchaod 4 giorni fa
parent
commit
c56a81ee89

+ 2
- 1
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/ias/ass/ReleasePlateApplyRequest.java Vedi File

@@ -41,7 +41,8 @@ public class ReleasePlateApplyRequest extends AbstractSignTypeRequest<ReleasePla
@EnumInteger(enumClazz = PlateColorType.class)
private Integer vehiclePlateColor;//车牌颜色
@NotBlank
@Pattern(regexp = PatternFactory.mobileRegexp, message = "手机号格式错误")
// @Pattern(regexp = PatternFactory.mobileRegexp, message = "手机号格式错误")
@Pattern(regexp = "^1[3-9][0-9]{9}$", message = "手机号格式错误")
private String mobile;//手机号
@NotBlank
private String name;//身份证姓名

Loading…
Annulla
Salva