Quellcode durchsuchen

默认值处理

WH01243 vor 7 Monaten
Ursprung
Commit
edb308d5e8
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      jyBXCore/rpc/service/operator.go

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

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