diff --git a/library/think/Validate.php b/library/think/Validate.php index 64fb1be7..df6c6e75 100644 --- a/library/think/Validate.php +++ b/library/think/Validate.php @@ -67,6 +67,8 @@ class Validate 'min' => 'min size of :attribute must be :rule', 'after' => ':attribute cannot be less than :rule', 'before' => ':attribute cannot exceed :rule', + 'afterWith' => ':attribute cannot be less than :rule', + 'beforeWith' => ':attribute cannot exceed :rule', 'expire' => ':attribute not within :rule', 'allowIp' => 'access IP is not allowed', 'denyIp' => 'access IP denied',