浏览代码

默认值处理

WH01243 7 月之前
父节点
当前提交
edb308d5e8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {
-			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 {