DengBiao 1 anno fa
parent
commit
cbeb388d29
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      internal/logic/domain/friend/friend_service.go

+ 1
- 1
internal/logic/domain/friend/friend_service.go Vedi File

@@ -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, "系统自动添加")


Caricamento…
Annulla
Salva