master_sxs_new #1

Merged
yanghongwei merged 16 commits from master_sxs_new into master 2024-05-30 14:02:49 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 835831c6f7 - Show all commits

View File

@ -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>

View File

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