$this->getCred(), 'version' => 'latest', 'scheme' => 'http' ]); try{ $res = $client->GetAliveUrl([ 'name' => '郭文涵', 'idcard' => '410329200204060032', 'returnUrl' => 'http://www.xxxx.wyk' ]); dump($res); }catch (\Jdcloud\Exception\JdcloudException $e) { print("ERROR"); var_dump($e->getMessage()); $this->assertFalse(true); } } public function getresult() { $client = new CloudauthClient([ 'credentials' => $this->getCred(), 'version' => 'latest', 'scheme' => 'http' ]); try{ $res = $client->GetAliveResult([ 'token' => '202405281431239af143850e49c5847a', ]); dump($res); }catch (\Jdcloud\Exception\JdcloudException $e) { print("ERROR"); var_dump($e->getMessage()); $this->assertFalse(true); } } }