From 53aa97a461ab5d0e09006aefac088f086ea7db36 Mon Sep 17 00:00:00 2001 From: yjxx <1055683039@qq.com> Date: Mon, 4 Nov 2024 17:02:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jty/expressdistributionsystem/DTO/UserModifyInfoDTO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/jty/expressdistributionsystem/DTO/UserModifyInfoDTO.java b/src/main/java/jty/expressdistributionsystem/DTO/UserModifyInfoDTO.java index e83769c..e03fc0a 100644 --- a/src/main/java/jty/expressdistributionsystem/DTO/UserModifyInfoDTO.java +++ b/src/main/java/jty/expressdistributionsystem/DTO/UserModifyInfoDTO.java @@ -10,6 +10,6 @@ public class UserModifyInfoDTO { private String userName; @NotBlank(message = "手机号不能为空") - @Pattern(regexp = "^1[3-9]\\d{9}$") + @Pattern(regexp = "^1[3-9]\\d{9}$", message = "手机号不存在") private String phone; }