ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
# getRawContent 获取原始的POST包体,用于非application/x-www-form-urlencoded格式的Http POST请求。(等同于原生swoole http rawContent), 此函数等同于PHP的fopen('php://input')。 ### 函数原型: ```php /** * 获取原始的POST包体 * @return mixed */ public function getRawContent() { return $this->request->rawContent(); } ```