$actionName = $reflect->getName();$this->request->setAction($actionName);} catch (ReflectionException $e) {$reflect = new ReflectionMethod($instance, '__call');$vars = [$action, $vars];$this->request->setAction($action);}} else {// 操作不存在throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');}$data = $this->app->invokeReflectMethod($instance, $reflect, $vars);return $this->autoResponse($data);});}/**