Skip to content

Commit

Permalink
update api.php.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bigsk authored and gitee-org committed Apr 8, 2020
1 parent 9f1f0cd commit d4d4f0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"verify_peer_name"=>false,
]
]; //读取API JSON并转为数组
$teamjson=file_get_contents("https://stats.foldingathome.org/api/team/".$_GET['teamid'],false, stream_context_create($stream_opts));
$donorjson=file_get_contents("https://stats.foldingathome.org/api/donor/".$_GET['donor'],false, stream_context_create($stream_opts));
$teamjson=file_get_contents("https://api.ghink.net/fah/json/team/?teamid=".$_GET['teamid'],false, stream_context_create($stream_opts));
$donorjson=file_get_contents("https://api.ghink.net/fah/json/donor/?donor=".$_GET['donor'],false, stream_context_create($stream_opts));
$team=json_decode($teamjson, true);
$donor=json_decode($donorjson, true);
//---------------------------------------------------------------------//
Expand Down

0 comments on commit d4d4f0e

Please sign in to comment.