src/DdvUtil/Laravel/Controller.php
public function verify(array $rule, $data = 'GET')
    {
        if (empty($verifyObj)) {
            $this->verifyObj = new \JiaLeo\Laravel\Verify\Verify();
        }

        $result = $this->verifyObj->check($rule, $data);
        $this->verifyData = $this->verifyObj->data;

        return $result;
    }
public function verify(array $rule, $data = 'GET')
    {
        if (empty($verifyObj)) {
            $this->verifyObj = new \JiaLeo\Laravel\Verify\Verify();
        }

        $result = $this->verifyObj->check($rule, $data);
        $this->verifyData = $this->verifyObj->data;

        return $result;
    }
验证
@param array $rule [验证规则]
@param array|string $data [验证数据源]
@throws ApiException