|
|
@ -42,7 +42,7 @@ class OverallController extends AbstractApiController {
|
|
|
|
* @param int areaId 上级地址(顶级为0)
|
|
|
|
* @param int areaId 上级地址(顶级为0)
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public function getAreaChilds() {
|
|
|
|
public function getAreaChilds() {
|
|
|
|
$areaId = $_POST['areaId'];
|
|
|
|
$areaId = $_GET['areaId'];
|
|
|
|
$children = $this->areaService->getAreaChildsByParentId($areaId);
|
|
|
|
$children = $this->areaService->getAreaChildsByParentId($areaId);
|
|
|
|
$this->renderSuccess(['children' => $children]);
|
|
|
|
$this->renderSuccess(['children' => $children]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|