|
@@ -70,9 +70,9 @@ func (l *SearchListLogic) SearchList(req *types.SearchReq) (resp *types.CommonRe
|
|
|
SearchGroup: req.SearchGroup,
|
|
|
SearchMode: req.SearchMode,
|
|
|
WordsMode: req.WordsMode,
|
|
|
- KeyWords: req.KeyWords,
|
|
|
- AdditionalWords: req.AdditionalWords,
|
|
|
- ExclusionWords: req.ExclusionWords,
|
|
|
+ KeyWords: util.RemoveInvisibleChars(req.KeyWords),
|
|
|
+ AdditionalWords: util.RemoveInvisibleChars(req.AdditionalWords),
|
|
|
+ ExclusionWords: util.RemoveInvisibleChars(req.ExclusionWords),
|
|
|
UserType: req.UserType,
|
|
|
Platform: util.CheckPlatform(l.r),
|
|
|
BidField: req.BidField,
|
|
@@ -84,9 +84,9 @@ func (l *SearchListLogic) SearchList(req *types.SearchReq) (resp *types.CommonRe
|
|
|
LimitFlag: limitFlag,
|
|
|
IsNew: isNew,
|
|
|
District: req.District,
|
|
|
- Buyer: req.Buyer,
|
|
|
- Winner: req.Winner,
|
|
|
- Agency: req.Agency,
|
|
|
+ Buyer: util.RemoveInvisibleChars(req.Buyer),
|
|
|
+ Winner: util.RemoveInvisibleChars(req.Winner),
|
|
|
+ Agency: util.RemoveInvisibleChars(req.Agency),
|
|
|
PropertyForm: req.PropertyForm,
|
|
|
ExpireTime: req.ExpireTime,
|
|
|
SubInformation: req.SubInformation,
|
|
@@ -162,7 +162,7 @@ func (l *SearchListLogic) SearchList(req *types.SearchReq) (resp *types.CommonRe
|
|
|
return "超前项目"
|
|
|
}
|
|
|
return ""
|
|
|
- }(req.SearchGroup), //搜索分组:默认0:全部;1:招标采购公告;2:超前项目
|
|
|
+ }(req.SearchGroup), //搜索分组:默认0:全部;1:招标采购公告;2:超前项目
|
|
|
"searchMode": common.If(req.SearchMode == 1, "模糊搜索", "精准搜索"), //搜索模式:0:精准搜索;1:模糊搜索
|
|
|
"wordsMode": common.If(req.WordsMode == 1, "包含任意", "包含所有"), //搜索关键词模式;默认0:包含所有,1:包含任意
|
|
|
"search_word": req.KeyWords,
|