Pārlūkot izejas kodu

默认值处理

WH01243 7 mēneši atpakaļ
vecāks
revīzija
89a3e89df0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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