手机号校验注解
Sync All Branches to GitHub / sync (push) Successful in 2s

This commit is contained in:
2026-01-18 13:23:14 +08:00
parent 1c6a5dc3be
commit 160a5fecd9
4 changed files with 59 additions and 0 deletions
@@ -5,6 +5,7 @@ import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import top.crushtj.framework.common.validator.PhoneNumber;
/**
*
@@ -25,6 +26,7 @@ public class SendVerificationCodeReqVO {
* 手机号
*/
@NotBlank(message = "手机号不能为空")
@PhoneNumber
private String phoneNumber;
}