注释调整

This commit is contained in:
thinkphp
2016-10-31 18:07:06 +08:00
parent e8b05a7642
commit 594d263ea2

View File

@@ -1471,11 +1471,11 @@ class Request
} }
/** /**
* 读取或者设置缓存 * 设置当前地址的请求缓存
* @access public * @access public
* @param string $key 缓存标识,支持变量规则 ,例如 item/:name/:id * @param string $key 缓存标识,支持变量规则 ,例如 item/:name/:id
* @param mixed $expire 缓存有效期 * @param mixed $expire 缓存有效期
* @return mixed * @return void
*/ */
public function cache($key, $expire = null) public function cache($key, $expire = null)
{ {
@@ -1514,7 +1514,7 @@ class Request
} }
/** /**
* 读取缓存设置 * 读取请求缓存设置
* @access public * @access public
* @return array * @return array
*/ */