wcc hai 1 ano
pai
achega
85026dafca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      createEsIndex/bidding_es.go

+ 1 - 1
createEsIndex/bidding_es.go

@@ -542,7 +542,7 @@ func GetEsField(tmp map[string]interface{}, stype string) (map[string]interface{
 	}
 	// 附件内容长度不做限制,大于长度限制做记录
 	filetext := getFileText(tmp)
-	if len([]rune(filetext)) > config.Conf.DB.Oss.Filesize+50000 {
+	if len([]rune(filetext)) > 10 {
 		newTmp["filetext"] = filetext
 		if len([]rune(filetext)) > fileLength {
 			//saveErr["filetext"] = filetext