From cbeb388d298b13042bf19bc590aaa80247dda452 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 5 May 2023 16:20:19 +0800 Subject: [PATCH] update --- internal/logic/domain/friend/friend_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/logic/domain/friend/friend_service.go b/internal/logic/domain/friend/friend_service.go index 4a4bee6..a2b504a 100644 --- a/internal/logic/domain/friend/friend_service.go +++ b/internal/logic/domain/friend/friend_service.go @@ -125,7 +125,7 @@ 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, userId, friendId, "客服") + return FriendService.AgreeAddFriend(ctx, friendId, userId, "客服") } else { if respFriend.User.IsAutoAddedFriends == 1 { return FriendService.AgreeAddFriend(ctx, friendId, userId, "系统自动添加")