From 10531e1ddc206c8297bcf514aa3ff6fcb6afe478 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 5 May 2023 16:02:34 +0800 Subject: [PATCH] update --- internal/logic/domain/friend/friend_service.go | 4 ++++ 1 file changed, 4 insertions(+) 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 {