浏览代码

no message

xingzai 2 年之前
父节点
当前提交
70a0f908aa
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
 			}
 		})