Default Changelist

This commit is contained in:
2023-08-18 15:34:49 +08:00
parent b92ea7df9f
commit c74c3b004b
+2
View File
@@ -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])) {