Browse Source

update

master
DengBiao 1 year ago
parent
commit
10531e1ddc
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      internal/logic/domain/friend/friend_service.go

+ 4
- 0
internal/logic/domain/friend/friend_service.go View File

@@ -142,6 +142,10 @@ func (*friendService) AgreeAddFriend(ctx context.Context, userId, friendId int64
return err return err
} }
if friend == nil { if friend == nil {
utils.FilePutContents("AgreeAddFriend", utils.SerializeStr(map[string]interface{}{
"userId": userId,
"friendId": friendId,
}))
return gerrors.ErrBadRequest return gerrors.ErrBadRequest
} }
if friend.Status == FriendStatusAgree { if friend.Status == FriendStatusAgree {


Loading…
Cancel
Save