Browse Source

一些功能

Kirin 4 years ago
parent
commit
f3bd8a5611
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/api/controller/PublicController.php

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

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