fuwencai 1 жил өмнө
parent
commit
5523a0306c

+ 1 - 1
services/stdlib/docService.go

@@ -116,7 +116,7 @@ func DocQuery(in *stdlib.DocQueryRequest) *stdlib.DocQueryResponse {
 			subTag := ""
 			//step3 := time.Now()
 			for i := 0; i < len(tags); i++ {
-				dtpKey := fmt.Sprintf("p_%s_0_tag", tags[i]) //一级tag
+				dtpKey := fmt.Sprintf("p_%s_0_class", tags[i]) //一级tag
 				if _, ok := partner.DocClassMap[dtpKey]; ok && len(tmptags) == 0 {
 					tmptags = append(tmptags, tags[i])
 				} else {