feat: test curl TLS version

mobile-first
lyt 6 years ago
parent c9289e901f
commit 6742e49f98

@ -1107,6 +1107,16 @@ class IPayLinksService extends CI_Controller
return $reponse;
}
public function test_curl()
{
$url = $this->input->get_post('url');
$data = $this->curl($url);
$json = json_decode($data);
echo $json->tls_version;
var_dump($json);
return;
}
/*!
* 检验非空
* @author LYT <lyt@hainatravel.com>

Loading…
Cancel
Save