浏览代码

一些功能

Kirin 4 年之前
父节点
当前提交
9a959db950
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)) {