Kirin %!s(int64=4) %!d(string=hai) anos
pai
achega
9a959db950
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/api/controller/PublicController.php

+ 1 - 1
app/api/controller/PublicController.php

@@ -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)) {