소스 검색

Merge branch 'dev/v1.1.21_wh' of BaseService/jyMicroservices into feature/v1.1.21

王浩 2 년 전
부모
커밋
4aedacbeb2
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))