Browse Source

企业身份判断

WH01243 2 năm trước cách đây
mục cha
commit
23e2f3e3e9

+ 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))