add clear
This commit is contained in:
@@ -606,16 +606,10 @@ class HttpClient
|
||||
$parent = $body[$item];
|
||||
continue;
|
||||
}
|
||||
|
||||
var_dump($parent, $parent[$item]);
|
||||
if (is_string($parent)) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if (!isset($parent[$item])) {
|
||||
if (is_string($parent) || !isset($parent[$item])) {
|
||||
break;
|
||||
}
|
||||
$parent = $parent[$item];
|
||||
}
|
||||
return !empty($parent) ? $parent : 'system success.';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user