|
|
|
@ -77,7 +77,7 @@ class Tuniu_train extends CI_Controller{
|
|
|
|
|
$log_info = 'tuniutrain 查询数据:'.$fromStation.'|'.$toStation.'|'.$date.'|retrun_code:'.$retrun_code.'|return_msg:'.$return_msg;
|
|
|
|
|
}else{
|
|
|
|
|
$isCache = true;
|
|
|
|
|
$log_info = 'tuniutrain 接口未响应|数据源:'.$fromStation.'|'.$toStation.'|'.$date;
|
|
|
|
|
$log_info = 'tuniutrain 接口未响应|数据源:'.$fromStation.'|'.$toStation.'|'.$date.'|retrun_code'.$retrun_code.'|return_msg:'.$return_msg;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -85,7 +85,6 @@ class Tuniu_train extends CI_Controller{
|
|
|
|
|
if($differ <= 5){
|
|
|
|
|
$back_data = null;
|
|
|
|
|
}else{
|
|
|
|
|
echo '123';
|
|
|
|
|
$trainCache = $this->tuniuprice_model->get_train_cache($fromStation,$toStation);
|
|
|
|
|
if(!empty($trainCache)){
|
|
|
|
|
$back_data = $trainCache->tpc_content;
|
|
|
|
|