From 11da5662e64877c0fb07eaa5c10c2599be9bfa81 Mon Sep 17 00:00:00 2001 From: lyt Date: Mon, 24 Jun 2019 10:12:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=8F=91=E9=82=AE=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=85=B3=E9=97=AD=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/pay/controllers/PaymentService.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webht/third_party/pay/controllers/PaymentService.php b/webht/third_party/pay/controllers/PaymentService.php index 044c985a..f75ef175 100644 --- a/webht/third_party/pay/controllers/PaymentService.php +++ b/webht/third_party/pay/controllers/PaymentService.php @@ -217,6 +217,10 @@ class PaymentService extends CI_Controller { $where = " OPN_SN=" . $item->OPN_SN; $this->note_model->update_note($where, $update_note_column); } + if ($send_email===false) { + $this->note_model->update_send($item->OPN_SN, $item->OPN_transactionId, 'closed'); + continue; // 这里不跳出, 退款后续需要检测是否发送财务 + } // 邮件外联 $opi_email = !empty($advisor_info->OPI_Email) ? $advisor_info->OPI_Email : ''; $opi_firstname = !empty($advisor_info->OPI_FirstName) ? $advisor_info->OPI_FirstName : !empty($advisor_info->OPI_Name) ? $advisor_info->OPI_Name : '';