rdluck 4 年之前
父节点
当前提交
df01ed74a8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/article.go

+ 1 - 1
services/article.go

@@ -16,7 +16,7 @@ func GetReportContentSub(content string) (contentSub string, err error) {
 	}
 	n := 0
 	doc.Find("p").Each(func(i int, s *goquery.Selection) {
-		if n >= 5 {
+		if n > 3 {
 			return
 		}
 		n++