提交 5ee6738f 编写于 作者: D devil_gong

pay debug

上级 766b3b32
...@@ -151,6 +151,8 @@ class WeixinMini ...@@ -151,6 +151,8 @@ class WeixinMini
// xml // xml
$xml = $this->ArrayToXml($ret['data']); $xml = $this->ArrayToXml($ret['data']);
$result = $this->XmlToArray($this->HttpRequest('https://api.mch.weixin.qq.com/pay/unifiedorder', $xml)); $result = $this->XmlToArray($this->HttpRequest('https://api.mch.weixin.qq.com/pay/unifiedorder', $xml));
print_r($result);
if(!empty($result['return_code']) && $result['return_code'] == 'SUCCESS' && !empty($result['prepay_id'])) if(!empty($result['return_code']) && $result['return_code'] == 'SUCCESS' && !empty($result['prepay_id']))
{ {
// 返回数据 // 返回数据
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册