Kaynağa Gözat

会员升级

Kirin 1 yıl önce
ebeveyn
işleme
fc3c9d83bb
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  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));
     }
 }