Selaa lähdekoodia

fix:未登录用户增加Subtype&TopType搜索

duxin 1 vuosi sitten
vanhempi
commit
7a8391f69e

+ 0 - 1
jyBXCore/api/internal/logic/mobilehotwordlogic.go

@@ -57,7 +57,6 @@ func (l *MobileHotWordLogic) MobileHotWord(req *types.MobileHotWordReq) (resp *t
 			"keyword": datum,
 		})
 	}
-	logx.Info("判重====", req.UserId, rDataArr)
 	return &types.CommonResp{
 		Data: rDataArr,
 	}, nil

+ 2 - 1
jyBXCore/rpc/internal/logic/getsearchlistlogic.go

@@ -51,7 +51,8 @@ func (l *GetSearchListLogic) GetSearchList(in *bxcore.SearchReq) (*bxcore.Search
 			Platform:    in.Platform,
 			UserType:    in.UserType,
 			SearchGroup: in.SearchGroup,
-			//Subtype:    "招标预告,招标公告,招标结果,招标信用信息",
+			Subtype:     in.Subtype,
+			TopType:     in.TopType,
 		}
 		// 搜索范围只允许筛选 标题和正文 其他的过滤掉
 		var selectType []string