瀏覽代碼

会员升级

Kirin 1 年之前
父節點
當前提交
fc3c9d83bb
共有 1 個文件被更改,包括 2 次插入1 次删除
  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));
     }
 }