更新地址数据源
This commit is contained in:
parent
e33828e405
commit
b5b1549c12
@ -57,7 +57,7 @@ class City extends BaseController
|
||||
$streetCode = $this->request->param('street_code') ?? '';
|
||||
$list = app()->make(CityAreaRepository::class)->getGeoChildren(['province_code' => $provinceCode, 'city_code' => $cityCode, 'area_code' => $areaCode, 'street_code' => $streetCode]);
|
||||
$geoList = [];
|
||||
foreach ($list->toArray() as $v) {
|
||||
foreach ($list as $v) {
|
||||
if (!empty($v['village_id'])) {
|
||||
$temp = [
|
||||
'type' => 'village',
|
||||
|
Loading…
x
Reference in New Issue
Block a user