master_sxs_new #1
|
|
@ -21,7 +21,7 @@ namespace langguanApi.Model.Dto.SystemConfigurationDto
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 角色id
|
/// 角色id
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string roleId { get; set; }
|
public string RoleId { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 邮箱
|
/// 邮箱
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ namespace langguanApi.Service
|
||||||
{
|
{
|
||||||
return new ApiResult { code = 1, msg = "邮箱非空" };
|
return new ApiResult { code = 1, msg = "邮箱非空" };
|
||||||
}
|
}
|
||||||
if (string.IsNullOrEmpty(input.roleId))
|
if (string.IsNullOrEmpty(input.RoleId))
|
||||||
{
|
{
|
||||||
return new ApiResult { code = 1, msg = "角色不能为空" };
|
return new ApiResult { code = 1, msg = "角色不能为空" };
|
||||||
}
|
}
|
||||||
|
|
@ -303,7 +303,7 @@ namespace langguanApi.Service
|
||||||
{
|
{
|
||||||
return new ApiResult { code = 1, msg = "邮箱不能为空" };
|
return new ApiResult { code = 1, msg = "邮箱不能为空" };
|
||||||
}
|
}
|
||||||
if (string.IsNullOrEmpty(input.roleId))
|
if (string.IsNullOrEmpty(input.RoleId))
|
||||||
{
|
{
|
||||||
return new ApiResult { code = 1, msg = "角色不能为空" };
|
return new ApiResult { code = 1, msg = "角色不能为空" };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue