From 82ef6d95ff39707007eb64a148ad22cad1981060 Mon Sep 17 00:00:00 2001 From: ljl Date: Wed, 17 Jan 2024 17:22:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/libs/controller/common/class.OverallController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/libs/controller/common/class.OverallController.php b/app/libs/controller/common/class.OverallController.php index 26e3420..6f72715 100644 --- a/app/libs/controller/common/class.OverallController.php +++ b/app/libs/controller/common/class.OverallController.php @@ -42,7 +42,7 @@ class OverallController extends AbstractApiController { * @param int areaId 上级地址(顶级为0) */ public function getAreaChilds() { - $areaId = $_POST['areaId']; + $areaId = $_GET['areaId']; $children = $this->areaService->getAreaChildsByParentId($areaId); $this->renderSuccess(['children' => $children]); }