wxpay debug

feat/task1-c-wallet
gongfuxiang 2019-06-01 15:44:33 +08:00
parent 32bd37303f
commit 3266b09bd2
1 changed files with 1 additions and 0 deletions

View File

@ -505,6 +505,7 @@ class Weixin
// 请求接口处理
$result = $this->XmlToArray($this->HttpRequest('https://api.mch.weixin.qq.com/secapi/pay/refund', $this->ArrayToXml($data), true));
print_r($result);die;
if(!empty($result['return_code']) && $result['return_code'] == 'SUCCESS' && !empty($result['prepay_id']))
{
// 统一返回格式