소스 검색

Merge branch 'feature/non_friends' into debug

* feature/non_friends:
  fixbug
boweniac 6 일 전
부모
커밋
af9e6406fb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      internal/logic/contact/get_contact_list_logic.go

+ 1 - 1
internal/logic/contact/get_contact_list_logic.go

@@ -58,7 +58,7 @@ func (l *GetContactListLogic) GetContactList(req *types.ContactListReq) (*types.
 	if req.WxWxid == nil || (req.WxWxid != nil && !isAdmin) {
 		predicates = append(predicates, contact.OrganizationIDEQ(organizationId))
 	}
-	if req.Status == nil {
+	if req.Status != nil {
 		predicates = append(predicates, contact.StatusEQ(*req.Status))
 	}