|
|
@@ -124,6 +124,8 @@ func (*friendService) AddFriend(ctx context.Context, userId, friendId int64, rem |
|
|
|
|
|
|
|
if description == "社交人脉圈添加好友" { |
|
|
|
return FriendService.AgreeAddFriend(ctx, friendId, userId, description) |
|
|
|
} else if description == "抖省客服自动添加" { |
|
|
|
return FriendService.AgreeAddFriend(ctx, friendId, userId, "抖省客服自动添加") |
|
|
|
} else { |
|
|
|
if respFriend.User.IsAutoAddedFriends == 1 { |
|
|
|
return FriendService.AgreeAddFriend(ctx, friendId, userId, "系统自动添加") |
|
|
|