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,]);