作者 郭文星

123

@@ -1469,10 +1469,9 @@ class Car extends Base @@ -1469,10 +1469,9 @@ class Car extends Base
1469 */ 1469 */
1470 public function reach() 1470 public function reach()
1471 { 1471 {
1472 - $where = ["type" => 2];  
1473 $indexList = []; 1472 $indexList = [];
1474 $itemArr = []; 1473 $itemArr = [];
1475 - $list = Db::name("route")->where($where) 1474 + $list = Db::name("route")
1476 ->select(); 1475 ->select();
1477 foreach ($list as $k => $v) { 1476 foreach ($list as $k => $v) {
1478 $list[$k]['specificaddress'] = Db::name("specificaddress")->where("route_id", $list[$k]['id'])->select(); 1477 $list[$k]['specificaddress'] = Db::name("specificaddress")->where("route_id", $list[$k]['id'])->select();