From 09b62f9150b83a45148d6660a0b0f3f24d7019f0 Mon Sep 17 00:00:00 2001 From: lyt Date: Thu, 21 Dec 2017 16:48:46 +0800 Subject: [PATCH] =?UTF-8?q?ipaylinks=20fixed=20=E9=80=80=E6=AC=BE=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=20=E7=BB=93=E6=9E=9C=E5=A4=84=E7=90=86xml=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/pay/controllers/iPayLinksService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webht/third_party/pay/controllers/iPayLinksService.php b/webht/third_party/pay/controllers/iPayLinksService.php index b72051c2..5fa2e1da 100644 --- a/webht/third_party/pay/controllers/iPayLinksService.php +++ b/webht/third_party/pay/controllers/iPayLinksService.php @@ -1016,7 +1016,8 @@ class IPayLinksService extends CI_Controller // echo "No record."; return false; } - $refund_list = $query_resp->data->refundDetails->detail; + $refund_list_obj = @ json_decode(@ json_encode($query_resp->data->refundDetails)); + $refund_list = $refund_list_obj->detail; foreach ($refund_list as $key => $refund) { // 由于ipaylinks批量查询的bug,这里要用单笔查询校对 $this_info = $this->get_refund($refund->refundOrderId);