From 5f8596b0295d46f736034664bce4ce5d4570c091 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Mon, 17 Apr 2023 16:04:31 +0800 Subject: [PATCH] update --- internal/logic/domain/friend/friend_service.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/logic/domain/friend/friend_service.go b/internal/logic/domain/friend/friend_service.go index fb0c43a..9ba611c 100644 --- a/internal/logic/domain/friend/friend_service.go +++ b/internal/logic/domain/friend/friend_service.go @@ -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, "系统自动添加")