Kirin il y a 1 an
Parent
commit
fc3c9d83bb
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      app/controller/admin/Common.php

+ 2 - 1
app/controller/admin/Common.php

@@ -367,6 +367,7 @@ class Common extends AuthController
     public function city(CityAreaServices $services)
     {
         $pid = $this->request->get('pid', 0);
-        return $this->success($services->getCityTreeList((int)$pid));
+        $type = $this->request->get('type', 0);
+        return $this->success($services->getCityTreeList((int)$pid, $type));
     }
 }