改进Response类 改进view助手函数 增加 think\response\Html 类

This commit is contained in:
thinkphp
2016-05-16 15:16:47 +08:00
parent 199825ec32
commit 30a6bd7e8a
6 changed files with 141 additions and 22 deletions

View File

@@ -297,4 +297,13 @@ class Response
{
return !empty($name) ? $this->header[$name] : $this->header;
}
/**
* 获取数据
* @return mixed
*/
public function getData()
{
return $this->data;
}
}