소스 검색

企业身份判断

WH01243 2 년 전
부모
커밋
23e2f3e3e9
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      jyBXSubscribe/api/internal/logic/byPushHistoryLogic.go
  2. 1 1
      jyBXSubscribe/api/internal/logic/subscribeListLogic.go

+ 1 - 1
jyBXSubscribe/api/internal/logic/byPushHistoryLogic.go

@@ -34,7 +34,7 @@ func (l *ByPushHistoryLogic) ByPushHistory(req *types.SubscribeReq) (resp *types
 	//关键词
 	matchkeysArr := []string{}
 	matchkeys := ""
-	if req.PositionType == 0 {
+	if req.IsEnt {
 		for k, v := range req.Item {
 			if common.InterfaceToStr(v) == "" {
 				matchitemsArr = append(matchitemsArr, common.InterfaceToStr(k))

+ 1 - 1
jyBXSubscribe/api/internal/logic/subscribeListLogic.go

@@ -36,7 +36,7 @@ func (l *SubscribeListLogic) SubscribeList(req *types.SubscribeReq) (resp *types
 	//关键词
 	matchkeysArr := []string{}
 	matchkeys := ""
-	if req.PositionType == 0 {
+	if req.IsEnt {
 		for k, v := range req.Item {
 			if common.InterfaceToStr(v) == "" {
 				matchitemsArr = append(matchitemsArr, common.InterfaceToStr(k))