Browse Source

Merge branch 'master' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 2 years ago
parent
commit
60ecbba574
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/article.go

+ 1 - 1
services/article.go

@@ -1855,7 +1855,7 @@ func ArticleAnnotation(item *models.HomeArticle) (annotation string) {
 			ulText = strings.Replace(ulText, " ", "", -1)
 			if ulText != "" {
 				textLen := strings.Index(docText, ulText)
-				mapDoc[(strings.Index(docText, ulText))] = strconv.Itoa(tk+1) + "." + ulText
+				mapDoc[(strings.Index(docText, ulText))] = ulText
 				mapSort = append(mapSort, textLen)
 			}
 		})