作者 郭文星

123

@@ -366,7 +366,6 @@ class Car extends Base @@ -366,7 +366,6 @@ class Car extends Base
366 $end_address=$this->request->param("end_address"); 366 $end_address=$this->request->param("end_address");
367 $route=Db::name("route") 367 $route=Db::name("route")
368 ->where("end_address",$end_address) 368 ->where("end_address",$end_address)
369 - ->where("type",2)  
370 ->where("start_address",$start_address) 369 ->where("start_address",$start_address)
371 ->find(); 370 ->find();
372 return $this->success("请求成功",$route); 371 return $this->success("请求成功",$route);
@@ -384,7 +383,6 @@ class Car extends Base @@ -384,7 +383,6 @@ class Car extends Base
384 $end_address=$this->request->param("end_address"); 383 $end_address=$this->request->param("end_address");
385 $route=Db::name("route") 384 $route=Db::name("route")
386 ->where("end_address",$end_address) 385 ->where("end_address",$end_address)
387 - ->where("type",1)  
388 ->where("start_address",$start_address) 386 ->where("start_address",$start_address)
389 ->find(); 387 ->find();
390 return $this->success("请求成功",$route); 388 return $this->success("请求成功",$route);