修改标签库的方法命名 取消 import标签

This commit is contained in:
thinkphp
2016-06-23 18:37:46 +08:00
parent ebc862e5fb
commit 57ca7a376b
4 changed files with 46 additions and 81 deletions

View File

@@ -1378,7 +1378,7 @@ class Request
*/
public function getContent()
{
if (null === $this->content) {
if (is_null($this->content)) {
$this->content = file_get_contents('php://input');
}
return $this->content;