refactor: 用 @Email 和 @Mobile 注解替换了部分验证,提高了代码可读性,修改了多处错误提示信息,使其更加友好

This commit is contained in:
2025-03-27 21:21:53 +08:00
parent c130f9c0bb
commit 19639c946a
26 changed files with 60 additions and 65 deletions

View File

@@ -37,6 +37,6 @@ public class CommonStatusUpdateReq implements Serializable {
* 状态
*/
@Schema(description = "状态", example = "1")
@NotNull(message = "状态非法")
@NotNull(message = "状态无效")
private DisEnableStatusEnum status;
}