fix(系统设置): 优化邮箱邀请注册时出现重复邮箱的提示信息
--bug=1042095 --user=宋天阳 【系统】邮箱邀请已存在用户的提示优化 https://www.tapd.cn/55049933/s/1530588
This commit is contained in:
parent
9ad0ae268b
commit
50cec0aef2
|
@ -430,7 +430,7 @@ public class SimpleUserService {
|
|||
//校验邮箱和角色的合法性
|
||||
Map<String, String> errorMap = this.validateUserInfo(request.getInviteEmails());
|
||||
if (MapUtils.isNotEmpty(errorMap)) {
|
||||
throw new MSException(Translator.get("user.email.repeat"));
|
||||
throw new MSException(Translator.get("user.email.repeat") + " : " + StringUtils.join(errorMap.keySet(), ", "));
|
||||
}
|
||||
List<UserInvite> inviteList = userInviteService.batchInsert(request.getInviteEmails(), inviteUser.getId(), request.getUserRoleIds());
|
||||
//记录日志
|
||||
|
|
Loading…
Reference in New Issue