Selaa lähdekoodia

默认值处理

WH01243 7 kuukautta sitten
vanhempi
commit
89a3e89df0
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      jyBXCore/rpc/service/operator.go

+ 1 - 1
jyBXCore/rpc/service/operator.go

@@ -604,7 +604,7 @@ func SearchList(operator Operator) (int64, *[]map[string]interface{}, int64) {
 		}
 		//信息类型二级
 		if len(subtype) > 0 {
-			filterArr = append(filterArr, fmt.Sprintf(`{"match":{"subtype":["%s"]}}`, strings.Join(subtype, `","`)))
+			filterArr = append(filterArr, fmt.Sprintf(`{"terms":{"subtype":["%s"]}}`, strings.Join(subtype, `","`)))
 		}
 	}
 	//私有标签1