Browse Source

feat:p525 stdlib 搜索接口调整

fuwencai 1 năm trước cách đây
mục cha
commit
cfcac9c35b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 {