Skip to content

Commit d4d4f0e

Browse files
Bigskgitee-org
authored andcommitted
update api.php.
1 parent 9f1f0cd commit d4d4f0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"verify_peer_name"=>false,
99
]
1010
]; //读取API JSON并转为数组
11-
$teamjson=file_get_contents("https://stats.foldingathome.org/api/team/".$_GET['teamid'],false, stream_context_create($stream_opts));
12-
$donorjson=file_get_contents("https://stats.foldingathome.org/api/donor/".$_GET['donor'],false, stream_context_create($stream_opts));
11+
$teamjson=file_get_contents("https://api.ghink.net/fah/json/team/?teamid=".$_GET['teamid'],false, stream_context_create($stream_opts));
12+
$donorjson=file_get_contents("https://api.ghink.net/fah/json/donor/?donor=".$_GET['donor'],false, stream_context_create($stream_opts));
1313
$team=json_decode($teamjson, true);
1414
$donor=json_decode($donorjson, true);
1515
//---------------------------------------------------------------------//

0 commit comments

Comments
 (0)