优化参数校验

pull/12/MERGE
tanghc 4 years ago
parent 4fe912ab58
commit 0b609305b1
  1. 5
      sop-common/sop-service-common/src/main/java/com/gitee/sop/servercommon/param/ServiceParamValidator.java

@ -29,7 +29,10 @@ public class ServiceParamValidator implements ParamValidator {
private static final String COMMA = ","; private static final String COMMA = ",";
private static Object[] EMPTY_OBJ_ARRAY = {}; private static Object[] EMPTY_OBJ_ARRAY = {};
private static final List<String> SYSTEM_PACKAGE_LIST = Arrays.asList("java.lang", "java.math", "java.util", "sun.util"); private static final List<String> SYSTEM_PACKAGE_LIST = Arrays.asList(
"java.lang", "java.math", "java.util", "sun.util"
,"org.springframework", "javax.servlet"
);
private static javax.validation.Validator validator; private static javax.validation.Validator validator;

Loading…
Cancel
Save