diff --git a/webht/third_party/pay/controllers/PaymentService.php b/webht/third_party/pay/controllers/PaymentService.php index 9d8c26e0..7b4abdb2 100644 --- a/webht/third_party/pay/controllers/PaymentService.php +++ b/webht/third_party/pay/controllers/PaymentService.php @@ -283,7 +283,9 @@ class PaymentService extends CI_Controller { } } - echo $output; + if (empty($opn_id)) { + echo $output; + } return $output; // return $this->output->set_content_type('application/json')->set_output(json_encode($data)); } diff --git a/webht/third_party/pay/views/payment_list.php b/webht/third_party/pay/views/payment_list.php index 9aff996b..7116d96b 100644 --- a/webht/third_party/pay/views/payment_list.php +++ b/webht/third_party/pay/views/payment_list.php @@ -322,6 +322,7 @@ jQuery.browser = {}; alert(data); }, error: function(msg) { + console.log("error", msg); alert('\u53d1\u751f\u9519\u8bef\uff0c\u8bf7\u8054\u7cfbYOYO...'); }, dataType: 'json',