14 lines
392 B
PHP
14 lines
392 B
PHP
<?php
|
|
header("Content-type:application/json;charset=utf-8");
|
|
$stream_opts = [
|
|
"ssl" => [
|
|
"verify_peer"=>false,
|
|
"verify_peer_name"=>false,
|
|
]
|
|
];
|
|
if($_GET['date'] == null){
|
|
header("Content-type:application/json");
|
|
echo '{"error":"10001"}';
|
|
}else{
|
|
echo @file_get_contents("http://tool.bitefu.net/jiari/?d=".$_GET['date'],false, stream_context_create($stream_opts));
|
|
} |