<?php<liu21st@gmail.com>
namespace think\route\dispatch;
use think\Container;
use think\route\Dispatch;
class View extends Dispatch
{
public function run()
{
$vars = array_merge($this->app['request']->param(), $this->param);
return Container::get('view')
->init(Container::get('config')->pull('template'))
->fetch($this->dispatch, $vars);
}
}