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);