浏览代码

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 {