Commit 427e17de authored by wwccw0591's avatar wwccw0591

upd

parent e3d9a868
...@@ -104,6 +104,7 @@ class TencentPay { ...@@ -104,6 +104,7 @@ 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;
} }
...@@ -445,4 +446,4 @@ class TencentPay { ...@@ -445,4 +446,4 @@ class TencentPay {
} }
} }
\ No newline at end of file
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