新增管理员
This commit is contained in:
parent
2cbed3e34f
commit
f3b1f046c9
|
|
@ -36,11 +36,16 @@ public class CreateAdminUserRequest
|
|||
public string? Avatar { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 邮箱
|
||||
/// 邮箱(为空时跳过格式验证)
|
||||
/// </summary>
|
||||
[MaxLength(100, ErrorMessage = "邮箱最多100个字符")]
|
||||
[EmailAddress(ErrorMessage = "邮箱格式不正确")]
|
||||
public string? Email { get; set; }
|
||||
public string? Email
|
||||
{
|
||||
get => _email;
|
||||
set => _email = string.IsNullOrWhiteSpace(value) ? null : value;
|
||||
}
|
||||
private string? _email;
|
||||
|
||||
/// <summary>
|
||||
/// 手机号
|
||||
|
|
|
|||
|
|
@ -20,11 +20,16 @@ public class UpdateAdminUserRequest
|
|||
public string? Avatar { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 邮箱
|
||||
/// 邮箱(为空时跳过格式验证)
|
||||
/// </summary>
|
||||
[MaxLength(100, ErrorMessage = "邮箱最多100个字符")]
|
||||
[EmailAddress(ErrorMessage = "邮箱格式不正确")]
|
||||
public string? Email { get; set; }
|
||||
public string? Email
|
||||
{
|
||||
get => _email;
|
||||
set => _email = string.IsNullOrWhiteSpace(value) ? null : value;
|
||||
}
|
||||
private string? _email;
|
||||
|
||||
/// <summary>
|
||||
/// 手机号
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name" : "学业邑规划",
|
||||
"appid" : "__UNI__1BAACAB",
|
||||
"appid" : "__UNI__A612028",
|
||||
"description" : "",
|
||||
"versionName" : "1.0.0",
|
||||
"versionCode" : "100",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user