From 594d263ea222ebafcb62ed533494c4e23ca9d53f Mon Sep 17 00:00:00 2001 From: thinkphp Date: Mon, 31 Oct 2016 18:07:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Request.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/think/Request.php b/library/think/Request.php index c6f1198a..634746c9 100644 --- a/library/think/Request.php +++ b/library/think/Request.php @@ -1471,11 +1471,11 @@ class Request } /** - * 读取或者设置缓存 + * 设置当前地址的请求缓存 * @access public * @param string $key 缓存标识,支持变量规则 ,例如 item/:name/:id * @param mixed $expire 缓存有效期 - * @return mixed + * @return void */ public function cache($key, $expire = null) { @@ -1514,7 +1514,7 @@ class Request } /** - * 读取缓存设置 + * 读取请求缓存设置 * @access public * @return array */