rdluck 4 years ago
parent
commit
811fed60e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/article.go

+ 1 - 1
services/article.go

@@ -55,7 +55,7 @@ func GetReportContentTextSub(content string) (contentSub string, err error) {
 			}
 			}
 		}
 		}
 	})
 	})
-	if contentSub == "" {
+	if contentSub == "" || len(contentSub) < 200 {
 		m := 0
 		m := 0
 		doc.Find("span").Each(func(i int, s *goquery.Selection) {
 		doc.Find("span").Each(func(i int, s *goquery.Selection) {
 			spanHtml, _ := s.Html()
 			spanHtml, _ := s.Html()