From db9b9726ebe6d40156e6e62e7ce71828fe22ee9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Mon, 30 Sep 2024 14:32:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E6=94=B9im=E4=BF=AE=E6=94=B9=E4=B8=BA?= =?UTF-8?q?get?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Verify.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/api/controller/Verify.php b/app/api/controller/Verify.php index 9df82c3..df2ee51 100644 --- a/app/api/controller/Verify.php +++ b/app/api/controller/Verify.php @@ -70,6 +70,10 @@ class Verify if (empty($data)) { $data = json_decode(file_get_contents("php://input"), true); } + + if (empty($data)) { + $data = $_GET; + } $url = "http://124.236.113.166:18702/api/agent/openIM/apikey/80cf4f64e990b78a9fc5eb/account/".$data['account']; linkcurl($url,'GET',[],[],0); echo json_encode(['code'=>1,]);