Browse Source

no message

xingzai 1 year ago
parent
commit
2d8a3f1c2c
2 changed files with 1 additions and 2 deletions
  1. 1 1
      services/article.go
  2. 0 1
      services/resource_data.go

+ 1 - 1
services/article.go

@@ -1910,7 +1910,7 @@ func ProductInteriorHtml(bodyText string) (annotation string) {
 	if bodyText == "" {
 		return
 	}
-	sliceBody := strings.Split(bodyText, "<br>")
+	sliceBody := strings.Split(bodyText, "</p>")
 	annotation, _ = GetReportContentTextSub(sliceBody[0])
 	return
 }

+ 0 - 1
services/resource_data.go

@@ -67,7 +67,6 @@ func GetResourceDataList(condition string, pars []interface{}, startSize, pageSi
 		}
 
 	}
-	fmt.Println(productinteriorIds)
 	//处理文章
 	if len(articleIds) > 0 {
 		pars = make([]interface{}, 0)