Explorar o código

Merge branch 'dev/v1.1.25.1_ws' of BaseService/jyMicroservices into hotfix/v1.1.25.1

wangshan %!s(int64=2) %!d(string=hai) anos
pai
achega
e81404606c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      jyBXCore/rpc/entity/search.go

+ 1 - 1
jyBXCore/rpc/entity/search.go

@@ -226,7 +226,7 @@ func (kws *KeyWordsSearch) SearchParamsHandle(in *bxcore.SearchReq) []string {
 	if 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个字符
 	if in.AdditionalWords != "" {