Эх сурвалжийг харах

feat:p525处理用户访问数据问题

fuwencai 1 жил өмнө
parent
commit
f3f6a79f21

+ 1 - 1
services/stdlib/docService.go

@@ -70,7 +70,7 @@ func DocQuery(in *stdlib.DocQueryRequest, searchSource []string) *stdlib.DocQuer
 	}
 	query_append := fmt.Sprintf(Es_Query_Append, (in.PageNum-1)*in.PageSize, in.PageSize)
 	if searchSource != nil && len(searchSource) > 0 {
-		musts = append(musts, fmt.Sprintf(Terms, "source", strings.Join(searchSource, `","`)))
+		musts = append(musts, fmt.Sprintf(Terms, "source", strings.Join(searchSource, `,`)))
 	}
 	if len(musts) == 0 {
 		query = fmt.Sprintf(Es_Query_All, fmt.Sprint(query_append, query_sort))