20240120-ljl-routeConfig
ljl 10 months ago
parent f05ee6580c
commit 82ef6d95ff

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

Loading…
Cancel
Save