...
|
...
|
@@ -366,7 +366,6 @@ class Car extends Base |
|
|
$end_address=$this->request->param("end_address");
|
|
|
$route=Db::name("route")
|
|
|
->where("end_address",$end_address)
|
|
|
->where("type",2)
|
|
|
->where("start_address",$start_address)
|
|
|
->find();
|
|
|
return $this->success("请求成功",$route);
|
...
|
...
|
@@ -384,7 +383,6 @@ class Car extends Base |
|
|
$end_address=$this->request->param("end_address");
|
|
|
$route=Db::name("route")
|
|
|
->where("end_address",$end_address)
|
|
|
->where("type",1)
|
|
|
->where("start_address",$start_address)
|
|
|
->find();
|
|
|
return $this->success("请求成功",$route);
|
...
|
...
|
|