|
...
|
...
|
@@ -15,6 +15,9 @@ class Signature |
|
|
|
*/
|
|
|
|
protected $uri;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var Client
|
|
|
|
*/
|
|
|
|
protected $client;
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -24,8 +27,9 @@ class Signature |
|
|
|
*/
|
|
|
|
public function __construct(string $uri)
|
|
|
|
{
|
|
|
|
$clientConfig = config('gz-cbec.client');
|
|
|
|
$this->uri = $uri;
|
|
|
|
$this->client = new Client;
|
|
|
|
$this->client = new Client($clientConfig);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -61,7 +65,7 @@ class Signature |
|
|
|
}
|
|
|
|
} catch (\Throwable $throwable) {
|
|
|
|
}
|
|
|
|
file_put_contents('tran.xml', $content);
|
|
|
|
|
|
|
|
return $content;
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|