|
@@ -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));
|
|
|
}
|
|
|
}
|