Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c74c3b004b |
@@ -433,6 +433,8 @@ class Redhat extends SmallProgram
|
||||
{
|
||||
$client = new Client('api.qpay.qq.com', 443, true);
|
||||
$client->withHeader(['Content-Type' => 'application/json']);
|
||||
$client->withSslKeyFile($this->config->getSslKey());
|
||||
$client->withSslCertFile($this->config->getSslCert());
|
||||
$client->post($this->sendUrl, $this->generate());
|
||||
$client->close();
|
||||
if (!in_array($client->getStatusCode(), [101, 200, 201])) {
|
||||
|
||||
Reference in New Issue
Block a user