This commit is contained in:
2021-07-27 17:02:01 +08:00
parent d556fb11c4
commit 50e1abbc65
2 changed files with 21 additions and 24 deletions
-13
View File
@@ -470,17 +470,4 @@ class Request extends HttpService
}
/**
* @param string $key
* @param mixed|null $defaultValue
* @return mixed
*/
public function post(string $key, mixed $defaultValue = null): mixed
{
/** @var HttpParams $params */
$params = Context::getContext(HttpParams::class);
return $params->post($key, $defaultValue);
}
}