소스 검색

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)
 			}
 		})