Commit 3de16226 authored by 耿迪迪's avatar 耿迪迪

手机格式校验问题修改

parent 4ea2594f
...@@ -21,7 +21,7 @@ public class SendAliVoiceNotify extends BaseRequestModel { ...@@ -21,7 +21,7 @@ public class SendAliVoiceNotify extends BaseRequestModel {
*/ */
@NotEmpty(message = "接收语音通知的手机号码不能为空") @NotEmpty(message = "接收语音通知的手机号码不能为空")
@Pattern(regexp = "^1[0-9]{10}$", message = "接收语音通知的手机号不合法") @Pattern(regexp = "^(1[0-9]{10}|0[0-9]{2,3}-?[0-9]{7,8})$", message = "接收语音通知的手机号不合法")
private String calledNumber; private String calledNumber;
/** /**
......
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