|
@@ -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;
|
|
}
|
|
}
|
|
|
|
|