From 445676d267ccef6f730157830df2d7f79ffcf3d5 Mon Sep 17 00:00:00 2001 From: lyt Date: Mon, 1 Jul 2019 10:35:24 +0800 Subject: [PATCH] =?UTF-8?q?Alipay=E8=B4=A6=E5=8D=95=E7=9A=84=E5=A4=84?= =?UTF-8?q?=E7=90=86,=E4=B8=8D=E5=8F=91=E9=80=81=E4=BB=A5=E5=89=8D?= =?UTF-8?q?=E7=9A=84=E9=82=AE=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/pay/controllers/AlipayTradeService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webht/third_party/pay/controllers/AlipayTradeService.php b/webht/third_party/pay/controllers/AlipayTradeService.php index d2079dd9..e7b49993 100644 --- a/webht/third_party/pay/controllers/AlipayTradeService.php +++ b/webht/third_party/pay/controllers/AlipayTradeService.php @@ -641,10 +641,10 @@ class AlipayTradeService extends CI_Controller $this->Alipay_note_model->update_send($item->ALI_dealId, 'sendfail'); return false; } - + $send_email = ($item->ALI_completeTime>date('Y-m-d', strtotime("-1 day"))); //添加邮件发送记录 // if (true) { // test - if ($item->ALI_sent !== 'send' && substr($item->ALI_sent, 0, 5) !== 'send-') { + if ($send_email===true && $item->ALI_sent !== 'send' && substr($item->ALI_sent, 0, 5) !== 'send-') { // 客人邮件中的外联落款 // $web_code = 'cht'; // 默认cht $web_lgc = 1;