|
|
@@ -41,7 +41,7 @@ class PublicController
|
|
|
if (count($citys)) {
|
|
|
foreach ($citys as $kk => $vv) {
|
|
|
$childs = [];
|
|
|
- $dictres = SystemCity::where('level', 1)->where('parent_id', $vv['id'])->select();
|
|
|
+ $dictres = SystemCity::where('level', 2)->where('parent_id', $vv['id'])->select();
|
|
|
if (count($dictres)) {
|
|
|
foreach ($dictres as $kkk => $vvv) {
|
|
|
$ress = ['value' => $kkk + 1, 'label' => $vvv['name']];
|