|
@@ -99,7 +99,6 @@ func (l *GetFriendsAndGroupsLogic) GetFriendsAndGroups(req *types.IDReq) (resp *
|
|
|
OnConflict().
|
|
|
UpdateNewValues().
|
|
|
ID(l.ctx)
|
|
|
- l.Infof("----------------l.svcCtx.DB.Contact.Create err--------------: %+v", err)
|
|
|
if err == nil {
|
|
|
lags := splitStringToIntArray(friend.Lag)
|
|
|
newFriendIds[id] = lags
|
|
@@ -176,6 +175,7 @@ func (l *GetFriendsAndGroupsLogic) GetFriendsAndGroups(req *types.IDReq) (resp *
|
|
|
SetGname(chatroom.Gname).
|
|
|
SetMarkname(chatroom.Markname).
|
|
|
SetV3(chatroom.V3).
|
|
|
+ SetOrganizationID(organizationId).
|
|
|
OnConflict().
|
|
|
UpdateNewValues().
|
|
|
ID(l.ctx)
|
|
@@ -193,6 +193,7 @@ func (l *GetFriendsAndGroupsLogic) GetFriendsAndGroups(req *types.IDReq) (resp *
|
|
|
SetNickname(gh.Nickname).
|
|
|
SetMarkname(gh.Markname).
|
|
|
SetV3(gh.V3).
|
|
|
+ SetOrganizationID(organizationId).
|
|
|
OnConflict().
|
|
|
UpdateNewValues().
|
|
|
ID(l.ctx)
|
|
@@ -229,6 +230,7 @@ func (l *GetFriendsAndGroupsLogic) GetFriendsAndGroups(req *types.IDReq) (resp *
|
|
|
SetNickname(friend.Nickname).
|
|
|
SetHeadimg(friend.Avatar).
|
|
|
SetSex(cast.ToInt(friend.Gender)).
|
|
|
+ SetOrganizationID(organizationId).
|
|
|
OnConflict().
|
|
|
UpdateNewValues().
|
|
|
SetOrganizationID(organizationId).
|