1 Commits

Author SHA1 Message Date
as2252258 c74c3b004b Default Changelist 2023-08-18 15:34:49 +08:00
+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])) {