pay debug

feat/task1-c-wallet
devil_gong 2019-01-07 15:54:01 +08:00
parent 2d3b368769
commit 2282020f90
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ 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']))
{
// 返回数据