xingzai %!s(int64=2) %!d(string=hai) anos
pai
achega
70a0f908aa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/article.go

+ 1 - 1
services/article.go

@@ -1849,7 +1849,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)
 			}
 		})