Merge branch 'temp'
Showing
5 changed files
with
10 additions
and
10 deletions
@@ -112,7 +112,7 @@ class Service extends PayAbstract | @@ -112,7 +112,7 @@ class Service extends PayAbstract | ||
112 | */ | 112 | */ |
113 | $this->log->LogInfo("===开始解析支付宝银行的回调参数==="); | 113 | $this->log->LogInfo("===开始解析支付宝银行的回调参数==="); |
114 | $this->log->logInfo("-----回调参数为---"); | 114 | $this->log->logInfo("-----回调参数为---"); |
115 | - $this->log->logInfo(var_export($arrResponse)); | 115 | + $this->log->logInfo(var_export($arrResponse), true); |
116 | 116 | ||
117 | if(isset($arrResponse['q'])){ | 117 | if(isset($arrResponse['q'])){ |
118 | unset($arrResponse['q']); | 118 | unset($arrResponse['q']); |
@@ -48,7 +48,7 @@ class Service extends PayAbstract | @@ -48,7 +48,7 @@ class Service extends PayAbstract | ||
48 | { | 48 | { |
49 | $this->log->LogInfo("===开始处理支付宝的请求参数==="); | 49 | $this->log->LogInfo("===开始处理支付宝的请求参数==="); |
50 | $this->log->logInfo("-----请求参数为---"); | 50 | $this->log->logInfo("-----请求参数为---"); |
51 | - $this->log->logInfo(var_export($params)); | 51 | + $this->log->logInfo(var_export($params, true)); |
52 | 52 | ||
53 | $baseUrl = $this->getBaseNoticeUrl($params->isTest); | 53 | $baseUrl = $this->getBaseNoticeUrl($params->isTest); |
54 | // $loseTime = intval(($params->orderTime + 7200 -time())/60); | 54 | // $loseTime = intval(($params->orderTime + 7200 -time())/60); |
@@ -110,7 +110,7 @@ class Service extends PayAbstract | @@ -110,7 +110,7 @@ class Service extends PayAbstract | ||
110 | */ | 110 | */ |
111 | $this->log->LogInfo("===开始解析支付宝的回调参数==="); | 111 | $this->log->LogInfo("===开始解析支付宝的回调参数==="); |
112 | $this->log->logInfo("-----回调参数为---"); | 112 | $this->log->logInfo("-----回调参数为---"); |
113 | - $this->log->logInfo(var_export($arrResponse)); | 113 | + $this->log->logInfo(var_export($arrResponse, true)); |
114 | 114 | ||
115 | if (isset($arrResponse['q'])) { | 115 | if (isset($arrResponse['q'])) { |
116 | unset($arrResponse['q']); | 116 | unset($arrResponse['q']); |
@@ -33,7 +33,7 @@ class Service extends PayAbstract | @@ -33,7 +33,7 @@ class Service extends PayAbstract | ||
33 | 33 | ||
34 | $this->log->LogInfo("===开始处理盛付通的请求参数==="); | 34 | $this->log->LogInfo("===开始处理盛付通的请求参数==="); |
35 | $this->log->logInfo("-----请求参数为---"); | 35 | $this->log->logInfo("-----请求参数为---"); |
36 | - $this->log->logInfo(var_export($params)); | 36 | + $this->log->logInfo(var_export($params, true)); |
37 | 37 | ||
38 | $bankCode = $params->paymentParameter == 'platform' ? '' : $params->paymentParameter; | 38 | $bankCode = $params->paymentParameter == 'platform' ? '' : $params->paymentParameter; |
39 | $baseUrl = $this->getBaseNoticeUrl($params->isTest); | 39 | $baseUrl = $this->getBaseNoticeUrl($params->isTest); |
@@ -110,7 +110,7 @@ class Service extends PayAbstract | @@ -110,7 +110,7 @@ class Service extends PayAbstract | ||
110 | { | 110 | { |
111 | $this->log->LogInfo("===开始处理盛付通的请求参数==="); | 111 | $this->log->LogInfo("===开始处理盛付通的请求参数==="); |
112 | $this->log->logInfo("-----请求参数为---"); | 112 | $this->log->logInfo("-----请求参数为---"); |
113 | - $this->log->logInfo(var_export($arrResponse)); | 113 | + $this->log->logInfo(var_export($arrResponse, true)); |
114 | 114 | ||
115 | $rsp = new Rspparams(); | 115 | $rsp = new Rspparams(); |
116 | if (!$this->checkResponse($arrResponse)) { | 116 | if (!$this->checkResponse($arrResponse)) { |
@@ -36,7 +36,7 @@ class Service extends PayAbstract | @@ -36,7 +36,7 @@ class Service extends PayAbstract | ||
36 | { | 36 | { |
37 | $this->log->LogInfo("===开始处理财付通的请求参数==="); | 37 | $this->log->LogInfo("===开始处理财付通的请求参数==="); |
38 | $this->log->logInfo("-----请求参数为---"); | 38 | $this->log->logInfo("-----请求参数为---"); |
39 | - $this->log->logInfo(var_export($params)); | 39 | + $this->log->logInfo(var_export($params, true)); |
40 | 40 | ||
41 | parent::getPayRequestPars($params); | 41 | parent::getPayRequestPars($params); |
42 | $baseUrl = $this->getBaseNoticeUrl($params->isTest); | 42 | $baseUrl = $this->getBaseNoticeUrl($params->isTest); |
@@ -78,7 +78,7 @@ class Service extends PayAbstract | @@ -78,7 +78,7 @@ class Service extends PayAbstract | ||
78 | { | 78 | { |
79 | $this->log->LogInfo("===开始处理财付通的回调参数==="); | 79 | $this->log->LogInfo("===开始处理财付通的回调参数==="); |
80 | $this->log->logInfo("-----回调参数为---"); | 80 | $this->log->logInfo("-----回调参数为---"); |
81 | - $this->log->logInfo(var_export($arrResponse)); | 81 | + $this->log->logInfo(var_export($arrResponse, true)); |
82 | 82 | ||
83 | $rsp = new Rspparams(); | 83 | $rsp = new Rspparams(); |
84 | if (!$this->checkResponse($arrResponse)) { | 84 | if (!$this->checkResponse($arrResponse)) { |
@@ -52,7 +52,7 @@ class Service extends PayAbstract | @@ -52,7 +52,7 @@ class Service extends PayAbstract | ||
52 | public function pay(array $orderInfo) { | 52 | public function pay(array $orderInfo) { |
53 | $this->log->LogInfo("===开始处理微信扫码支付的请求参数==="); | 53 | $this->log->LogInfo("===开始处理微信扫码支付的请求参数==="); |
54 | $this->log->logInfo("-----请求参数为---"); | 54 | $this->log->logInfo("-----请求参数为---"); |
55 | - $this->log->logInfo(var_export($orderInfo)); | 55 | + $this->log->logInfo(var_export($orderInfo, true)); |
56 | 56 | ||
57 | //生成签名 | 57 | //生成签名 |
58 | $this->orderCode = $orderInfo['order_code']; | 58 | $this->orderCode = $orderInfo['order_code']; |
@@ -83,7 +83,7 @@ class Service extends PayAbstract | @@ -83,7 +83,7 @@ class Service extends PayAbstract | ||
83 | 83 | ||
84 | $this->log->LogInfo("===开始处理微信扫码支付的支付地址==="); | 84 | $this->log->LogInfo("===开始处理微信扫码支付的支付地址==="); |
85 | $this->log->logInfo("-----支付地址数据为---"); | 85 | $this->log->logInfo("-----支付地址数据为---"); |
86 | - $this->log->logInfo(var_export($payUrlInfo)); | 86 | + $this->log->logInfo(var_export($payUrlInfo, true)); |
87 | 87 | ||
88 | $payUrl = $payUrlInfo['pay_url'] . '?' . $payUrlInfo['pars']; | 88 | $payUrl = $payUrlInfo['pay_url'] . '?' . $payUrlInfo['pars']; |
89 | 89 | ||
@@ -104,7 +104,7 @@ class Service extends PayAbstract | @@ -104,7 +104,7 @@ class Service extends PayAbstract | ||
104 | $result = WxPayApi::orderQuery($input); | 104 | $result = WxPayApi::orderQuery($input); |
105 | 105 | ||
106 | $this->log->logInfo("===查询微信扫码支付的结果结束,结果为==="); | 106 | $this->log->logInfo("===查询微信扫码支付的结果结束,结果为==="); |
107 | - $this->log->logInfo(var_export($result)); | 107 | + $this->log->logInfo(var_export($result, true)); |
108 | 108 | ||
109 | $rsp = new Rspparams(); | 109 | $rsp = new Rspparams(); |
110 | // 支付成功 | 110 | // 支付成功 |
-
Please register or login to post a comment