角色ID修改名称
This commit is contained in:
parent
c07646784f
commit
835831c6f7
|
|
@ -21,7 +21,7 @@ namespace langguanApi.Model.Dto.SystemConfigurationDto
|
|||
/// <summary>
|
||||
/// 角色id
|
||||
/// </summary>
|
||||
public string roleId { get; set; }
|
||||
public string RoleId { get; set; }
|
||||
/// <summary>
|
||||
/// 邮箱
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ namespace langguanApi.Service
|
|||
{
|
||||
return new ApiResult { code = 1, msg = "邮箱非空" };
|
||||
}
|
||||
if (string.IsNullOrEmpty(input.roleId))
|
||||
if (string.IsNullOrEmpty(input.RoleId))
|
||||
{
|
||||
return new ApiResult { code = 1, msg = "角色不能为空" };
|
||||
}
|
||||
|
|
@ -303,7 +303,7 @@ namespace langguanApi.Service
|
|||
{
|
||||
return new ApiResult { code = 1, msg = "邮箱不能为空" };
|
||||
}
|
||||
if (string.IsNullOrEmpty(input.roleId))
|
||||
if (string.IsNullOrEmpty(input.RoleId))
|
||||
{
|
||||
return new ApiResult { code = 1, msg = "角色不能为空" };
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue