作者 郭文星

132

... ... @@ -1433,10 +1433,12 @@ class Car extends Base
$itemArr = [];
$list = Db::name("route")
->select();
$newlist=[];
foreach ($list as $k => $v) {
$list[$k]['specificaddress'] = Db::name("specificaddress")
->where("route_id", $list[$k]['id'])
->select();
$newlist[$k][0]=$list[$k];
}
$charArray = [];
if (!empty($list)) {
... ...