浏览代码

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

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