code: private static Object wrapCollection(final Object object) {
          if (object instanceof List) {
              Map<String, Object> map = new HashMap<>(4);
              map.put("list", object);
              return map;
          } else if (object != null && object.getClass().isArray()) {
              Map<String, Object> map = new HashMap<>(4);
              map.put("array", object);
              return map;
          }
          return object;
      }
docs: 简单包装参数