fuwencai 1 vuosi sitten
vanhempi
commit
5523a0306c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      services/stdlib/docService.go

+ 1 - 1
services/stdlib/docService.go

@@ -116,7 +116,7 @@ func DocQuery(in *stdlib.DocQueryRequest) *stdlib.DocQueryResponse {
 			subTag := ""
 			subTag := ""
 			//step3 := time.Now()
 			//step3 := time.Now()
 			for i := 0; i < len(tags); i++ {
 			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 {
 				if _, ok := partner.DocClassMap[dtpKey]; ok && len(tmptags) == 0 {
 					tmptags = append(tmptags, tags[i])
 					tmptags = append(tmptags, tags[i])
 				} else {
 				} else {