Commit ee1555d6 authored by liuyuzhen's avatar liuyuzhen

小程序支付失败问题

parent 7bf86cd9
...@@ -104,7 +104,6 @@ class TencentPay { ...@@ -104,7 +104,6 @@ class TencentPay {
{ {
$this->postXml(); $this->postXml();
$this->result = $this->xmlToArray($this->response); $this->result = $this->xmlToArray($this->response);
\Our\Log::getInstance()->write(json_encode($this->result),'/data/log/apptest');
$prepay_id = isset($this->result["prepay_id"])?$this->result["prepay_id"]:\Our\ApiConst::zero; $prepay_id = isset($this->result["prepay_id"])?$this->result["prepay_id"]:\Our\ApiConst::zero;
return $prepay_id; return $prepay_id;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment