mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-07 06:15:29 +08:00
wxpay debug
This commit is contained in:
@ -505,8 +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']))
|
||||
if(!empty($result['return_code']) && $result['return_code'] == 'SUCCESS' && !empty($result['return_msg']) && $result['return_msg'] == 'OK')
|
||||
{
|
||||
// 统一返回格式
|
||||
$data = [
|
||||
|
||||
Reference in New Issue
Block a user