Commit 869dc1fd authored by liuyuzhen's avatar liuyuzhen

测试

parent da5a1009
...@@ -337,15 +337,14 @@ class TencentPay { ...@@ -337,15 +337,14 @@ class TencentPay {
$verify = true; $verify = true;
$this->setReturnParameter("return_code","SUCCESS");//设置返回码 $this->setReturnParameter("return_code","SUCCESS");//设置返回码
} }
$returnXml = $this->returnXml();; $returnXml = $this->returnXml();
\Our\Log::getInstance()->write(json_encode($this->data,true),'/data/log/applog');
if($verify) { if($verify) {
$returnXml = array( return array(
'out_trade_no' => $this->data['out_trade_no'], 'out_trade_no' => $this->data['out_trade_no'],
'trade_no' => $this->data['transaction_id'], 'trade_no' => $this->data['transaction_id'],
'returnXml'=>$returnXml 'returnXml'=>$returnXml
); );
\Our\Log::getInstance()->write(json_encode($returnXml,true),'/data/log/applog');
return $returnXml;
} }
return false; return false;
} }
......
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