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