1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace App\Http\Validate;
- class BaseValidate
- {
- protected $message = [
- ];
- //错误信息
- private $error;
- /**
- * @return mixed
- */
- public function getError()
- {
- return $this->error;
- }
- /**
- * @param mixed $error
- */
- public function setError($error): void
- {
- $this->error = $error;
- }
- }
|