param(); $check = parent::check($data, $rules, $scene); // TODO: Change the autogenerated stub if (!$check) { $response = Response::create([ 'code' => 0, 'msg' => $this->getError(), 'time' => Request::instance()->server('REQUEST_TIME'), 'data' => null, ], 'json')->header([]); throw new HttpResponseException($response); } return $data; } }