소스 검색

feat:默认截取 备注

wangshan 2 년 전
부모
커밋
6a170eac17
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/jfw/modules/subscribepay/src/service/index_p1.go

+ 1 - 0
src/jfw/modules/subscribepay/src/service/index_p1.go

@@ -93,6 +93,7 @@ func (this *IndexSearch) GetIndexMessage() {
 				history = strings.Split(h, ",")
 				_history = strings.Split(h, ",")
 				for k, v := range _history {
+					//默认关键词不超过35个字符
 					b_word, _, _ := jy.InterceptSearchKW(v, 35, true)
 					if b_word == "" {
 						_history = append(_history[:k], _history[k+1:]...)