作者 郭文星

123

@@ -1429,10 +1429,9 @@ class Car extends Base @@ -1429,10 +1429,9 @@ class Car extends Base
1429 */ 1429 */
1430 public function set_out() 1430 public function set_out()
1431 { 1431 {
1432 - $where = ["type" => 1];  
1433 $indexList = []; 1432 $indexList = [];
1434 $itemArr = []; 1433 $itemArr = [];
1435 - $list = Db::name("route")->where($where) 1434 + $list = Db::name("route")
1436 ->select(); 1435 ->select();
1437 foreach ($list as $k => $v) { 1436 foreach ($list as $k => $v) {
1438 $list[$k]['specificaddress'] = Db::name("specificaddress")->where("route_id", $list[$k]['id'])->select(); 1437 $list[$k]['specificaddress'] = Db::name("specificaddress")->where("route_id", $list[$k]['id'])->select();