We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed869a6 commit c6c2b69Copy full SHA for c6c2b69
src/GZCTF/Models/Request/Account/ProfileUpdateModel.cs
@@ -35,6 +35,6 @@ public class ProfileUpdateModel
35
/// <summary>
36
/// 学工号
37
/// </summary>
38
- [MaxLength(15, ErrorMessage = "学工号过长")]
+ [MaxLength(24, ErrorMessage = "学工号过长")]
39
public string? StdNumber { get; set; }
40
}
src/GZCTF/Models/Request/Admin/AdminUserInfoModel.cs
@@ -35,13 +35,13 @@ public class AdminUserInfoModel
/// 真实姓名
- [MaxLength(6, ErrorMessage = "真实姓名过长")]
+ [MaxLength(7, ErrorMessage = "真实姓名过长")]
public string? RealName { get; set; }
41
42
43
44
- [MaxLength(10, ErrorMessage = "学工号过长")]
45
46
47
0 commit comments