src/Request.php
public function post($key = null, $value = null)
    {
        if (is_array($key))
        {
            $this->_post = $key;
            return $this;
        }
        if (null === $key)
        {
            return $this->_post;
        }
        elseif (null === $value)
        {
            return Arr::path($this->_post, $key);
        }

        $this->_post[$key] = $value;
        return $this;
    }
public function post($key = null, $value = null)
    {
        if (is_array($key))
        {
            $this->_post = $key;
            return $this;
        }
        if (null === $key)
        {
            return $this->_post;
        }
        elseif (null === $value)
        {
            return Arr::path($this->_post, $key);
        }

        $this->_post[$key] = $value;
        return $this;
    }
读取或者设置post数据

@param  mixed  $key   键名
@param  string $value 值
@return mixed|$this