add clear
This commit is contained in:
@@ -625,6 +625,7 @@ class HttpClient
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$this->method = self::POST;
|
$this->method = self::POST;
|
||||||
|
$this->addHeader('Content-Type', 'multipart/form-data;charset=UTF-8');
|
||||||
$output = $this->curlParse($url, $params);
|
$output = $this->curlParse($url, $params);
|
||||||
if ($output === FALSE) {
|
if ($output === FALSE) {
|
||||||
return new Result(['code' => 500, 'message' => $output]);
|
return new Result(['code' => 500, 'message' => $output]);
|
||||||
|
|||||||
Reference in New Issue
Block a user