From f6a207cb61bddc6f877d5acb158cd7ededcf0fdf Mon Sep 17 00:00:00 2001 From: weiz Date: Mon, 23 Oct 2023 09:32:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=BA=AF=E6=BA=90=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E8=AF=B7=E6=B1=82=E4=BE=9B=E9=94=80=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E5=86=9C=E6=88=B7=E4=BF=A1=E6=81=AF=E7=9A=84=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/InformationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/InformationController.php b/app/api/controller/InformationController.php index b90edc704..2768cdd58 100644 --- a/app/api/controller/InformationController.php +++ b/app/api/controller/InformationController.php @@ -137,7 +137,7 @@ class InformationController extends BaseApiController public function farmerInfo(): Json { //获取参数 - $params = $this->request->get(['user_id']); + $params = $this->request->post(['user_id']); if(empty($params['user_id'])){ return $this->fail('参数错误'); }