From 0e6d985601ec2717231f06dbbe6b6eed488b63f2 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 2 Mar 2016 22:50:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80controller=E7=B1=BBfetch?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E7=9A=84=E5=8F=82=E6=95=B0=20=E5=92=8C=20vie?= =?UTF-8?q?w=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Controller.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/think/Controller.php b/library/think/Controller.php index aee66486..06649a03 100644 --- a/library/think/Controller.php +++ b/library/think/Controller.php @@ -84,12 +84,12 @@ class Controller * @access public * @param string $template 模板文件名 * @param array $vars 模板输出变量 - * @param string $cache_id 模板缓存标识 + * @param array $config 模板参数 * @return mixed */ - public function fetch($template = '', $vars = [], $cache_id = '') + public function fetch($template = '', $vars = [], $config = []) { - return $this->view->fetch($template, $vars, $cache_id); + return $this->view->fetch($template, $vars, $config); } /**