diff --git a/internal/logic/domain/friend/friend_service.go b/internal/logic/domain/friend/friend_service.go index 723f731..4a4bee6 100644 --- a/internal/logic/domain/friend/friend_service.go +++ b/internal/logic/domain/friend/friend_service.go @@ -142,6 +142,10 @@ func (*friendService) AgreeAddFriend(ctx context.Context, userId, friendId int64 return err } if friend == nil { + utils.FilePutContents("AgreeAddFriend", utils.SerializeStr(map[string]interface{}{ + "userId": userId, + "friendId": friendId, + })) return gerrors.ErrBadRequest } if friend.Status == FriendStatusAgree {