Quellcode durchsuchen

修复国际化参数错误

zhou-hao vor 3 Jahren
Ursprung
Commit
19ede4c864

+ 1 - 1
hsweb-core/src/main/java/org/hswebframework/web/exception/ValidationException.java

@@ -29,7 +29,7 @@ public class ValidationException extends I18nSupportException {
     }
 
     public ValidationException(String message, List<Detail> details, Object... args) {
-        super(message, 400, args);
+        super(message, args);
         this.details = details;
         for (Detail detail : this.details) {
             detail.translateI18n(args);