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);