|
|
|
|
@ -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.'<br>';
|
|
|
|
|
|
|
|
|
|
$toName = 'Sharon';
|
|
|
|
|
$toEmail = 'Sharon@hainatravel.com';
|
|
|
|
|
$toEmail = 'sharon@chinahighlights.com';
|
|
|
|
|
$subject = '用户中心操作';
|
|
|
|
|
|
|
|
|
|
$obj = $this->Sendmail_model->SendMailToTable($fromName,$fromEmail,$toName,$toEmail,$subject,$body);
|
|
|
|
|
|