소스 검색

feat:p525 stdlib 搜索接口调整

fuwencai 1 년 전
부모
커밋
cfcac9c35b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      services/stdlib/docService.go

+ 1 - 1
services/stdlib/docService.go

@@ -135,7 +135,7 @@ func DocQuery(in *stdlib.DocQueryRequest) *stdlib.DocQueryResponse {
 				PreviewImgId: common.InterfaceToStr(v["previewImgId"]),
 				ProductType:  common.Int64All(v["productType"]),
 				Source:       common.Int64All(v["source"]),
-				DocTags:      strings.Join(tmptags, " "),
+				DocTags:      strings.Join(tmptags, "  "),
 			}
 			highlight, _ := v["highlight"].(map[string][]string)
 			if len(highlight["docName"]) > 0 {