作者 郭文星

123

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