角色ID修改名称

This commit is contained in:
pangwenpeng 2024-05-30 10:49:05 +08:00
parent c07646784f
commit 835831c6f7
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ namespace langguanApi.Model.Dto.SystemConfigurationDto
/// <summary>
/// 角色id
/// </summary>
public string roleId { get; set; }
public string RoleId { get; set; }
/// <summary>
/// 邮箱
/// </summary>

View File

@ -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 = "角色不能为空" };
}