소스 검색

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

wangshan 2 년 전
부모
커밋
e81404606c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 != "" {