eee
This commit is contained in:
+4
-3
@@ -299,8 +299,9 @@ class Redhat extends SmallProgram
|
||||
{
|
||||
$client = new Client('api.qpay.qq.com', 443, true);
|
||||
$client->withHeader(['Content-Type' => 'application/x-www-form-urlencoded']);
|
||||
$client->withSslKeyFile($this->payConfig->pay->wx->mchKey);
|
||||
$client->withSslCertFile($this->payConfig->pay->wx->mchCert);
|
||||
$client->withSslKeyFile($this->payConfig->pay->qq->mchKey);
|
||||
$client->withSslCertFile($this->payConfig->pay->qq->mchCert);
|
||||
$client->withCa($this->payConfig->pay->qq->mchCa);
|
||||
$proxyHost = $this->payConfig->getProxyHost();
|
||||
$proxyPort = $this->payConfig->getProxyPort();
|
||||
if (!empty($proxyHost) && $proxyPort > 0) {
|
||||
@@ -331,7 +332,7 @@ class Redhat extends SmallProgram
|
||||
public function searchByOrderNo($listid, $orderNo = null): Result
|
||||
{
|
||||
$requestParam['nonce_str'] = Help::random(31);
|
||||
$requestParam['mch_id'] = $this->payConfig->pay->wx->mchId;
|
||||
$requestParam['mch_id'] = $this->payConfig->pay->qq->mchId;
|
||||
$requestParam['listid'] = $listid;
|
||||
if (!empty($orderNo)) {
|
||||
$requestParam['mch_billno'] = $orderNo;
|
||||
|
||||
Reference in New Issue
Block a user