pay debug
parent
766b3b32e8
commit
5ee6738fc7
|
|
@ -151,6 +151,8 @@ class WeixinMini
|
|||
// xml
|
||||
$xml = $this->ArrayToXml($ret['data']);
|
||||
$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']))
|
||||
{
|
||||
// 返回数据
|
||||
|
|
|
|||
Loading…
Reference in New Issue