修改日志格式

hotfix/远程访问多媒体中心
cyc 7 years ago
parent d1130f47d7
commit e005956771

@ -72,13 +72,13 @@ class Tuniu_train extends CI_Controller{
if(isset($tn_info->data)){ if(isset($tn_info->data)){
if(empty(json_decode($back_data)->data)){ if(empty(json_decode($back_data)->data)){
$isCache = true; $isCache = true;
$log_info = 'tuniutrain data缺失|数据源:'.$fromStation.'|'.$toStation.'|'.$date.'|retrun_code:'.$retrun_code.'|return_msg:'.$return_msg;
}else{ }else{
$this->tuniuprice_model->addOrUpdate($fromStation,$toStation,$back_data); $this->tuniuprice_model->addOrUpdate($fromStation,$toStation,$back_data);
} }
$log_info = 'tuniutrain 查询数据:'.$fromStation.'|'.$toStation.'|'.$date.'|retrun_code:'.$retrun_code.'|return_msg:'.$return_msg;
}else{ }else{
$isCache = true; $isCache = true;
$log_info = 'tuniutrain 接口未响应|数据源:'.$fromStation.'|'.$toStation.'|'.$date.'|retrun_code'.$retrun_code.'|return_msg:'.$return_msg; $log_info = 'tuniutrain 接口未响应|数据源:'.$fromStation.'|'.$toStation.'|'.$date.'|retrun_code:'.$retrun_code.'|return_msg:'.$return_msg;
} }
if($isCache){ if($isCache){

Loading…
Cancel
Save