修正Query类 改进Response类 改进异常输出

This commit is contained in:
thinkphp
2016-05-16 16:39:17 +08:00
parent 30a6bd7e8a
commit a4a14b3bf1
9 changed files with 76 additions and 42 deletions

View File

@@ -86,12 +86,13 @@ class Controller
* @access public
* @param string $template 模板文件名
* @param array $vars 模板输出变量
* @param array $replace 模板替换
* @param array $config 模板参数
* @return mixed
*/
public function fetch($template = '', $vars = [], $config = [])
public function fetch($template = '', $vars = [], $replace = [], $config = [])
{
return $this->view->fetch($template, $vars, $config);
return $this->view->fetch($template, $vars, $replace, $config = []);
}
/**