|
@@ -48,7 +48,7 @@ func (l *GetSearchListLogic) GetSearchList(in *bxcore.SearchReq) (*bxcore.Search
|
|
|
//初始化搜索对象
|
|
|
ks := entity.NewKeyWordsSearch()
|
|
|
//处理搜索条件
|
|
|
- heightWods := ks.SearchParamsHandle(in)
|
|
|
+ heightWords := ks.SearchParamsHandle(in)
|
|
|
//判断是否是空搜索,如果是空搜索,查缓存数据
|
|
|
if ks.IsEmptySearch(in) {
|
|
|
res.List, res.Count = ks.GetBidSearchListByCache(in)
|
|
@@ -93,7 +93,7 @@ func (l *GetSearchListLogic) GetSearchList(in *bxcore.SearchReq) (*bxcore.Search
|
|
|
res.Count, res.Total, res.List = ks.GetBidSearchList(in) //util.GetBidSearchData(in)
|
|
|
logx.Info("2查询耗时:", time.Since(t2))
|
|
|
}
|
|
|
- res.KeyWords = strings.Join(heightWods, " ")
|
|
|
+ res.KeyWords = strings.Join(heightWords, " ")
|
|
|
res.InterceptOtherWords = in.InterceptOtherWords
|
|
|
res.InterceptKeyWords = in.InterceptKeyWords
|
|
|
}
|