@@ -138,6 +138,7 @@ namespace GxPress.Service.Implement.Group
/// <returns></returns>
public async Task<bool> InsertsAsync(GroupUserInRequest request)
{
+ request.UserIds = request.UserIds.Distinct().ToList();
//获取当前小组
var group = await _groupRepository.GetAsync(request.GroupId);
//不是管理员添加