|
@@ -202,13 +202,10 @@ func (l *GetSearchListLogic) GetSearchList(in *bxcore.SearchReq) (*bxcore.Search
|
|
|
}
|
|
|
//4.3.新增:“项目名称/标的物”搜索结果广告
|
|
|
if (in.UserType == "fType" || !in.IsPay) && res.Count > IC.C.SearchLimit {
|
|
|
- switch isReset {
|
|
|
- case true:
|
|
|
- nin.SelectType = "purchasing,projectname.pname"
|
|
|
- case false:
|
|
|
- nin.SelectType = "ppa"
|
|
|
+ if !isReset {
|
|
|
ks.SearchParamsHandle(nin, isWhite)
|
|
|
}
|
|
|
+ nin.SelectType = "purchasing,projectname.pname"
|
|
|
nin.PageSize, nin.PageNum = 1, 1
|
|
|
_, total, data := ks.GetBidSearchList(nin)
|
|
|
if total > IC.C.SubjectLimit {
|