File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
"verify_peer_name " =>false ,
9
9
]
10
10
]; //读取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 ));
13
13
$ team =json_decode ($ teamjson , true );
14
14
$ donor =json_decode ($ donorjson , true );
15
15
//---------------------------------------------------------------------//
You can’t perform that action at this time.
0 commit comments