Commit 05dde5a9 authored by yanzg's avatar yanzg

身份证识别

parent d1f15a2a
...@@ -82,7 +82,7 @@ public class ArrayHelper { ...@@ -82,7 +82,7 @@ public class ArrayHelper {
* @return * @return
*/ */
public static boolean isArrayOrCollection(Object val) { public static boolean isArrayOrCollection(Object val) {
return val != null && (val instanceof List || val.getClass().isArray()); return val != null && (val instanceof Collection || val.getClass().isArray());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment