Update PhyreApiSDK.php
This commit is contained in:
parent
7a0e333e00
commit
f0d88dfd7d
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
namespace App\ApiSDK;
|
namespace App\ApiSDK;
|
||||||
|
|
||||||
|
use function AlibabaCloud\Client\json;
|
||||||
|
|
||||||
class PhyreApiSDK
|
class PhyreApiSDK
|
||||||
{
|
{
|
||||||
public $ip;
|
public $ip;
|
||||||
|
@ -38,6 +40,8 @@ class PhyreApiSDK
|
||||||
$response = curl_exec($ch);
|
$response = curl_exec($ch);
|
||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
|
|
||||||
|
$response = json_decode($response, true);
|
||||||
|
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue