...
|
...
|
@@ -163,6 +163,7 @@ class Car extends Base |
|
|
"order_no" => getOrderSn(),
|
|
|
"price" => $price,
|
|
|
"reservation_time" => $reservation_time,
|
|
|
"departure_time" => $reservation_time,
|
|
|
"starting_point" => $starting_point,//未支付
|
|
|
"end_point" => $end_point,//未支付
|
|
|
"passengers" => $passengers,//未支付
|
...
|
...
|
@@ -1019,6 +1020,7 @@ class Car extends Base |
|
|
$data = [
|
|
|
"order_no" => getOrderSn(),
|
|
|
"price" => $price,
|
|
|
"departure_time" => $reservation_time,
|
|
|
"reservation_time" => $reservation_time,
|
|
|
"is_pay" => "2",//未支付
|
|
|
"route_id" => $route_id,
|
...
|
...
|
@@ -1036,6 +1038,7 @@ class Car extends Base |
|
|
$data = [
|
|
|
"order_no" => getOrderSn(),
|
|
|
"price" => $price,
|
|
|
"departure_time" => $reservation_time,
|
|
|
"reservation_time" => $reservation_time,
|
|
|
"is_pay" => 2,//未支付
|
|
|
"route_id" => $route_id,
|
...
|
...
|
@@ -1123,6 +1126,7 @@ class Car extends Base |
|
|
$data = [
|
|
|
"order_no" => getOrderSn(),
|
|
|
"price" => $price,
|
|
|
"departure_time" => $reservation_time,
|
|
|
"order_review_id" => $order_review_id,
|
|
|
"reservation_time" => $reservation_time,
|
|
|
"is_pay" => 1,//未支付
|
...
|
...
|
@@ -1144,6 +1148,7 @@ class Car extends Base |
|
|
"reservation_time" => $reservation_time,
|
|
|
"is_pay" => 2,//未支付
|
|
|
"route_id" => $route_id,
|
|
|
"departure_time" => $reservation_time,
|
|
|
"user_id" => $this->auth->id,
|
|
|
"phone" => $phone,
|
|
|
"pay_type" => "offlinepay",
|
...
|
...
|
@@ -1177,7 +1182,8 @@ class Car extends Base |
|
|
$number = $this->request->param("number");//乘车人数
|
|
|
$carmodel_id = $this->request->param("carmodel_id");//乘车人数
|
|
|
$reservation_time = $this->request->param("reservation_time");//预约时间
|
|
|
//$reservation_time = strtotime($reservation_time);
|
|
|
$departure_time=strstr($reservation_time,"-",true);
|
|
|
$departure_time = strtotime($departure_time);
|
|
|
$phone = $this->request->param("phone");//联系电话
|
|
|
$intended_driver_id = $this->request->param("intended_driver_id");//意向司机
|
|
|
$remarks = $this->request->param("remarks");//备注
|
...
|
...
|
@@ -1219,6 +1225,7 @@ class Car extends Base |
|
|
$data = [
|
|
|
"order_no" => getOrderSn(),
|
|
|
"price" => $price,
|
|
|
"departure_time" => $departure_time,
|
|
|
"position" => $position,
|
|
|
"starting_point" => $starting_point,
|
|
|
"end_point" => $end_point,
|
...
|
...
|
@@ -1246,6 +1253,7 @@ class Car extends Base |
|
|
"position" => $position,
|
|
|
"starting_point" => $starting_point,
|
|
|
"end_point" => $end_point,
|
|
|
"departure_time" => $departure_time,
|
|
|
"passengers" => $passengers,
|
|
|
"is_qrcode" => $is_qrcode,
|
|
|
"specificaddress_id" => $specificaddress_id,
|
...
|
...
|
@@ -1299,7 +1307,8 @@ class Car extends Base |
|
|
$number = $this->request->param("number");//乘车人数
|
|
|
$carmodel_id = $this->request->param("carmodel_id");//乘车人数
|
|
|
$reservation_time = $this->request->param("reservation_time");//预约时间
|
|
|
//$reservation_time = strtotime($reservation_time);
|
|
|
$departure_time=strstr($reservation_time,"-",true);
|
|
|
$departure_time = strtotime($departure_time);
|
|
|
$phone = $this->request->param("phone");//联系电话
|
|
|
$intended_driver_id = $this->request->param("intended_driver_id");//意向司机
|
|
|
$remarks = $this->request->param("remarks");//备注
|
...
|
...
|
@@ -1345,6 +1354,7 @@ class Car extends Base |
|
|
"order_no" => getOrderSn(),
|
|
|
"price" => $price,
|
|
|
"starting_point" => $starting_point,
|
|
|
"departure_time" => $departure_time,
|
|
|
"end_point" => $end_point,
|
|
|
"passengers" => $passengers,
|
|
|
"position" => $position,
|
...
|
...
|
@@ -1372,6 +1382,7 @@ class Car extends Base |
|
|
"starting_point" => $starting_point,
|
|
|
"end_point" => $end_point,
|
|
|
"passengers" => $passengers,
|
|
|
"departure_time" => $departure_time,
|
|
|
"is_qrcode" => $is_qrcode,
|
|
|
"specificaddress_id" => $specificaddress_id,
|
|
|
"reservation_time" => $reservation_time,
|
...
|
...
|
|