正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -1883,8 +1883,8 @@ class Car extends Base | @@ -1883,8 +1883,8 @@ class Car extends Base | ||
1883 | * @return void | 1883 | * @return void |
1884 | */ | 1884 | */ |
1885 | public function countrebook(){ | 1885 | public function countrebook(){ |
1886 | - $id = $this->request->param("order_id","507"); | ||
1887 | - $reservation_time = $this->request->param("reservation_time","2024-09-10 18:00-18:30");//预约时间 | 1886 | + $id = $this->request->param("order_id"); |
1887 | + $reservation_time = $this->request->param("reservation_time");//预约时间 | ||
1888 | $order = Db::name("order")->where("id", $id)->find(); | 1888 | $order = Db::name("order")->where("id", $id)->find(); |
1889 | $departure_time=substr($reservation_time,0,16); | 1889 | $departure_time=substr($reservation_time,0,16); |
1890 | $refund_time=substr($order['reservation_time'],0,16); | 1890 | $refund_time=substr($order['reservation_time'],0,16); |
-
请 注册 或 登录 后发表评论