...
|
...
|
@@ -52,7 +52,7 @@ class Service extends PayAbstract |
|
|
public function pay(array $orderInfo) {
|
|
|
$this->log->LogInfo("===开始处理微信扫码支付的请求参数===");
|
|
|
$this->log->logInfo("-----请求参数为---");
|
|
|
$this->log->logInfo(var_export($orderInfo));
|
|
|
$this->log->logInfo(var_export($orderInfo, true));
|
|
|
|
|
|
//生成签名
|
|
|
$this->orderCode = $orderInfo['order_code'];
|
...
|
...
|
@@ -83,7 +83,7 @@ class Service extends PayAbstract |
|
|
|
|
|
$this->log->LogInfo("===开始处理微信扫码支付的支付地址===");
|
|
|
$this->log->logInfo("-----支付地址数据为---");
|
|
|
$this->log->logInfo(var_export($payUrlInfo));
|
|
|
$this->log->logInfo(var_export($payUrlInfo, true));
|
|
|
|
|
|
$payUrl = $payUrlInfo['pay_url'] . '?' . $payUrlInfo['pars'];
|
|
|
|
...
|
...
|
@@ -104,7 +104,7 @@ class Service extends PayAbstract |
|
|
$result = WxPayApi::orderQuery($input);
|
|
|
|
|
|
$this->log->logInfo("===查询微信扫码支付的结果结束,结果为===");
|
|
|
$this->log->logInfo(var_export($result));
|
|
|
$this->log->logInfo(var_export($result, true));
|
|
|
|
|
|
$rsp = new Rspparams();
|
|
|
// 支付成功
|
...
|
...
|
|