From 0e2950717227601243e00182a5af649a36056354 Mon Sep 17 00:00:00 2001 From: cyc Date: Wed, 27 May 2020 15:45:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=82=AE=E7=AE=B1=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/trainsystem/controllers/api.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/application/third_party/trainsystem/controllers/api.php b/application/third_party/trainsystem/controllers/api.php index 6d75d804..bd893361 100644 --- a/application/third_party/trainsystem/controllers/api.php +++ b/application/third_party/trainsystem/controllers/api.php @@ -90,9 +90,7 @@ class api extends CI_Controller{ foreach ($coldSnArr as $keyColdSn=>$itemColdSn){ $train_info = $this->BIZ_train_model->biz_order_detail($itemColdSn->cold_sn); - //todo 计算是否有逾期车程,扣除逾期车程,计算价格变动 $today = time(); - if(strtotime($itemColdSn->COLI_ApplyDate) - $today < 86400){ $orderInfo->totalPrice = $orderInfo->totalPrice - 0; continue; @@ -221,7 +219,7 @@ class api extends CI_Controller{ $fromEmail = "cyc@hainatravel.com"; if(empty($coli_id)){ $toName = 'Sharon'; - $toEmail = 'Sharon@hainatravel.com'; + $toEmail = 'sharon@chinahighlights.com'; $fromEmail = $this->input->get_post('concatEmail'); $body = $this->input->get_post('addrequest'); if(empty($fromEmail) && empty($body)){ @@ -270,7 +268,7 @@ class api extends CI_Controller{ $body .= '详细信息:'.$request.'
'; $toName = 'Sharon'; - $toEmail = 'Sharon@hainatravel.com'; + $toEmail = 'sharon@chinahighlights.com'; $subject = '用户中心操作'; $obj = $this->Sendmail_model->SendMailToTable($fromName,$fromEmail,$toName,$toEmail,$subject,$body);