Default Changelist
This commit is contained in:
@@ -10,21 +10,20 @@ namespace wchat\qq;
|
||||
|
||||
use Exception;
|
||||
use Kiri\Client;
|
||||
use wchat\common\HttpClient;
|
||||
use wchat\common\Result;
|
||||
use wchat\common\Help;
|
||||
|
||||
class Recharge extends SmallProgram
|
||||
{
|
||||
private $money = 0;
|
||||
private float $money = 0;
|
||||
|
||||
private $orderNo;
|
||||
private string $orderNo;
|
||||
|
||||
private $data = [];
|
||||
private array $data = [];
|
||||
|
||||
private $spill_create_ip = '';
|
||||
private string $spill_create_ip = '';
|
||||
|
||||
private $uniformer = 'https://qpay.qq.com/cgi-bin/pay/qpay_unified_order.cgi';
|
||||
private string $uniformer = '/cgi-bin/pay/qpay_unified_order.cgi';
|
||||
|
||||
/**
|
||||
* @param $value
|
||||
|
||||
+1
-1
@@ -431,7 +431,7 @@ class Redhat extends SmallProgram
|
||||
*/
|
||||
public function redEnvelopes(): Result
|
||||
{
|
||||
$client = new Client('qpay.qq.com', 443, true);
|
||||
$client = new Client('api.qpay.qq.com', 443, true);
|
||||
$client->withHeader(['Content-Type' => 'application/json']);
|
||||
$client->post($this->sendUrl, $this->generate());
|
||||
$client->close();
|
||||
|
||||
Reference in New Issue
Block a user