Browse Source

feat:默认截取 备注

wangshan 2 years ago
parent
commit
6a170eac17
1 changed files with 1 additions and 0 deletions
  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:]...)