|
@@ -226,7 +226,7 @@ func (kws *KeyWordsSearch) SearchParamsHandle(in *bxcore.SearchReq) []string {
|
|
if in.KeyWords != "" {
|
|
if in.KeyWords != "" {
|
|
//关键词处理
|
|
//关键词处理
|
|
in.KeyWords = strings.TrimSpace(in.KeyWords)
|
|
in.KeyWords = strings.TrimSpace(in.KeyWords)
|
|
- in.InterceptKeyWords, in.InterceptOtherWords, in.KeyWords = util.InterceptSearchKW(in.KeyWords, MC.IntAllDef(IC.C.KeywordsLimit, 35), len(in.Industry) == 0)
|
|
|
|
|
|
+ in.InterceptKeyWords, in.InterceptOtherWords, in.KeyWords = util.InterceptSearchKW(in.KeyWords, MC.IntAllDef(IC.C.KeywordsLimit, 35), true) // len(in.Industry) == 0
|
|
}
|
|
}
|
|
//附加词 每组附加词不能超过15个字符
|
|
//附加词 每组附加词不能超过15个字符
|
|
if in.AdditionalWords != "" {
|
|
if in.AdditionalWords != "" {
|