From 9ac653dccdfc897e8dd434a1a3f79814c88e8df4 Mon Sep 17 00:00:00 2001 From: lyt Date: Tue, 2 Jul 2019 11:29:14 +0800 Subject: [PATCH] =?UTF-8?q?APP=E7=BB=84=E7=9A=84=E5=90=8E=E7=BC=80A,=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=9F=A5=E8=AF=A2=E5=BD=95=E5=85=A5=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=92=8C=E8=BD=AC=E7=A7=BB=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/pay/controllers/PaymentService.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webht/third_party/pay/controllers/PaymentService.php b/webht/third_party/pay/controllers/PaymentService.php index df8bd6b7..5af49913 100644 --- a/webht/third_party/pay/controllers/PaymentService.php +++ b/webht/third_party/pay/controllers/PaymentService.php @@ -428,7 +428,9 @@ class PaymentService extends CI_Controller { $data['order_info'] = $this->account_model->get_order($orderid_info->orderid, true, $orderid_info->ordertype); if ($orderid_info->ordertype === 'T') { $data['gai_info'] = $this->account_model->get_money_t($pn_txn_id); - } elseif ($orderid_info->ordertype === 'B' || $orderid_info->ordertype === 'TP') { + } elseif ($orderid_info->ordertype === 'B' || $orderid_info->ordertype === 'TP' + || $orderid_info->ordertype === 'A' + ) { $data['gai_info'] = $this->account_model->get_money_b($pn_txn_id); } } @@ -463,7 +465,9 @@ class PaymentService extends CI_Controller { $old_ssje = $data['gai_info'][0]->GAI_SSJE; $this->account_model->delete_money_t($pn_txn_id); } - } elseif ($orderid_info->ordertype === 'B' || $orderid_info->ordertype === 'TP') { + } elseif ($orderid_info->ordertype === 'B' || $orderid_info->ordertype === 'TP' + || $orderid_info->ordertype === 'A' + ) { $data['gai_info'] = $this->account_model->get_money_b($pn_txn_id); if ( ! empty($data['gai_info'])) { $old_ssje = $data['gai_info'][0]->GAI_SSJE;