add clear
This commit is contained in:
@@ -424,7 +424,6 @@ class HttpClient
|
|||||||
} else {
|
} else {
|
||||||
$client->post($url, $data);
|
$client->post($url, $data);
|
||||||
}
|
}
|
||||||
var_dump($client);
|
|
||||||
return $client;
|
return $client;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -604,6 +603,9 @@ class HttpClient
|
|||||||
return 'system success.';
|
return 'system success.';
|
||||||
}
|
}
|
||||||
$explode = explode('.', $this->errorMsgField);
|
$explode = explode('.', $this->errorMsgField);
|
||||||
|
if (!isset($body[$explode[0]])) {
|
||||||
|
return 'system success.';
|
||||||
|
}
|
||||||
foreach ($explode as $item) {
|
foreach ($explode as $item) {
|
||||||
if (empty($item)) {
|
if (empty($item)) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user