From e2ced18d1ea87d0b0858def419ab1b59b04a9cdf Mon Sep 17 00:00:00 2001 From: cyc Date: Thu, 4 Jul 2019 11:09:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=BA=E7=A8=8B=E5=87=BA=E7=A5=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E8=87=AA=E5=8A=A8=E5=87=BA=E7=A5=A8=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/trainsystem/controllers/addorders.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/third_party/trainsystem/controllers/addorders.php b/application/third_party/trainsystem/controllers/addorders.php index b65392cb..b3ec4042 100644 --- a/application/third_party/trainsystem/controllers/addorders.php +++ b/application/third_party/trainsystem/controllers/addorders.php @@ -530,7 +530,7 @@ class addorders extends CI_Controller{ $add_data->endtime = date('H:i',strtotime($data['train']->ArrivalTime)); $add_data->runtime = (strtotime($data['train']->ArrivalTime) - strtotime($data['train']->DepartureTime)) / 60; $add_data->channel = 'tuniu'; - $add_data->isauto = 0; + $add_data->isauto = $this->isauto; $this->train_system_model->add_orders($add_data); echo json_encode($reback); @@ -667,7 +667,6 @@ class addorders extends CI_Controller{ $add_data->channel = 'ctrip'; $add_data->isauto = 0; - //存储到数据库 $this->train_system_model->add_orders($add_data);