|
|
@@ -38,10 +38,10 @@ class PublicController
|
|
|
foreach ($province as $k => $v) {
|
|
|
$child = [];
|
|
|
$citys = SystemCity::where('level', 1)->where('parent_id', $v['id'])->select();
|
|
|
+ var_dump($citys);
|
|
|
if (count($citys)) {
|
|
|
foreach ($citys as $kk => $vv) {
|
|
|
$childs = [];
|
|
|
- var_dump($vv['id']);
|
|
|
$dictres = SystemCity::where('level', 2)->where('parent_id', $vv['id'])->select();
|
|
|
// var_dump($dictres);
|
|
|
if (count($dictres)) {
|