diff --git a/Think/Validate.php b/Think/Validate.php index 53bbe655..23d8ba0c 100644 --- a/Think/Validate.php +++ b/Think/Validate.php @@ -22,6 +22,10 @@ class Validate { return $this; } + public function getError(){ + return $this->error; + } + /** * 自动表单验证 * @access protected